createDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added Parameter)
(syntax format)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| person '''createDiarySubject''' [subject,display name,picture] |= Syntax
| person '''createDiarySubject''' [subject, displayName, picture] |= Syntax
 


|p1= person: [[Object]] |= PARAMETER1  
|p1= person: [[Object]] |= PARAMETER1  


|p2= subject: [[String]] |= PARAMETER2  
|p2= [subject, displayName, picture]: [[Array]] |= PARAMETER2
 
|p3= subject: [[String]] |= PARAMETER2  
 
|p4= displayName: [[String]] - The visible name|= PARAMETER4


|p3= display: [[String]] - The visible name|= PARAMETER3
|p5= picture: (optional): [[String]]|= PARAMETER5


|p4= picture: (optional): [[String]]
| [[Number]] |= RETURNVALUE  
| [[Number]] |= RETURNVALUE  



Revision as of 00:14, 24 April 2015

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