createDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also & formate)
(added Parameter)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


|p2= [subject,display name,picture]: Array -  |= PARAMETER2  
|p2= subject: [[String]] |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= display: [[String]] - The visible name|= PARAMETER3  


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



Revision as of 16:13, 23 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,display name,picture]
Parameters:
person: Object
subject: String
display: 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