createDiarySubject: Difference between revisions

From Bohemia Interactive Community
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]] |= PARAMETER1
|p1= person: [[Object]] |PARAMETER1=  


|p2= [subject, displayName, picture]: [[Array]] |= PARAMETER2
|p2= [subject, displayName, picture]: [[Array]] |PARAMETER2=


|p3= subject: [[String]] |= PARAMETER2
|p3= subject: [[String]] |PARAMETER2=  


|p4= displayName: [[String]] - The visible name|= PARAMETER4
|p4= displayName: [[String]] - The visible name|PARAMETER4=  


|p5= picture: (optional): [[String]]|= PARAMETER5
|p5= picture: (optional): [[String]]|PARAMETER5=


| [[Number]] |= RETURNVALUE
| [[Number]] |RETURNVALUE=  




|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>|= EXAMPLE1
|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] |= SEEALSO
| [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:30, 7 April 2019

Hover & click on the images for description

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

See also:
processDiaryLinkcreateDiaryLinkcreateDiaryRecorddiarySubjectExists

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

Notes

Bottom Section