createDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{TODO" to "{{Wiki|todo")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 25: Line 25:
|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>
|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>


| [[removeDiarySubject]], [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]], [[setDiarySubjectPicture]], [[allDiarySubjects]]
|seealso= [[removeDiarySubject]], [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]], [[setDiarySubjectPicture]], [[allDiarySubjects]]
}}
}}



Revision as of 00:31, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
Parameters:
person: Object
[subject, displayName, picture]: Array
subject: String
displayName: String - The visible name
picture: (optional): String - icon to display next to the subject (can be set later with setDiarySubjectPicture)
Return Value:
Return value needed

Examples

Example 1:
_index =player createDiarySubject ["myPage","My page"];

Additional Information

See also:
removeDiarySubjectprocessDiaryLinkcreateDiaryLinkcreateDiaryRecorddiarySubjectExistssetDiarySubjectPictureallDiarySubjects

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
Posted on June 22, 2019 - 10:11 (UTC)
R3vo
🚧
TODO: Remove this note after 2.03.147165

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.