createDiarySubject: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 88820 by killzone_kid on 2015-04-23T22:14:46Z) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
|p1= person: [[Object]] |= | |p1= person: [[Object]] |PARAMETER1= | ||
|p2= [subject, displayName, picture]: [[Array]] |= | |p2= [subject, displayName, picture]: [[Array]] |PARAMETER2= | ||
|p3= subject: [[String]] |= | |p3= subject: [[String]] |PARAMETER2= | ||
|p4= displayName: [[String]] - The visible name|= | |p4= displayName: [[String]] - The visible name|PARAMETER4= | ||
|p5= picture: (optional): [[String]]|= | |p5= picture: (optional): [[String]]|PARAMETER5= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>|= | |x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] |= | | [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:30, 7 April 2019
Description
- Description:
- Create a new subject page in a log.
- Groups:
- Uncategorised
Syntax
- Syntax:
- person createDiarySubject [subject, displayName, picture]
- Parameters:
- person: Object
- [subject, displayName, picture]: Array
- subject: String
- displayName: String - The visible name
- picture: (optional): String
- Return Value:
- Number
Examples
- Example 1:
_index =player createDiarySubject ["myPage","My page"];
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note