createDiarySubject
- Local argument
- Local effect
- Arma 3 v0.50
- First in Arma 2 v1.00
Command · Markdown · JSON · original wiki page
Description
Creates a new subject in the Diary.
Syntax
player createDiarySubject [subject, displayName, picture]
Parameters:
player: Objectsubject: StringdisplayName: String - the visible namepicture: String - (Optional, default"") icon to display next to the subject. Can be set later with setDiarySubjectPicture. Similar to lbSetPictureRight.
Returns: Number - index of the entry that was added
Examples
Example 1
_index = player createDiarySubject ["myPage","My page"];
See also
removeDiarySubject · processDiaryLink · createDiaryLink · createDiaryRecord · diarySubjectExists · setDiarySubjectPicture · allDiarySubjects