createDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "|PARAMETER2= |p4=" to "|PARAMETER3= |p4=")
Line 17: Line 17:
|p2= [subject, displayName, picture]: [[Array]] |PARAMETER2=
|p2= [subject, displayName, picture]: [[Array]] |PARAMETER2=


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


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

Revision as of 09:42, 3 September 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

Posted on June 22, 2019 - 10:11 (UTC)
R3vo
The parameter picture seems to have no effect in Arma 3 player createDiarySubject ["myPage","My page","\A3\Data_F_Argo\Logos\arma3_argo_artwork.jpg"]; No image is shown.