createDiarySubject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|gr1= Briefing | |gr1= Briefing | ||
|1.00 | |1.00 | ||
| Create a new subject page in a log. | | Create a new subject page in a log. | ||
| person '''createDiarySubject''' [subject, displayName, picture] | | person '''createDiarySubject''' [subject, displayName, picture] | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= [subject, displayName, picture]: [[Array]] | |p2= [subject, displayName, picture]: [[Array]] | ||
|p3= subject: [[String]] | |p3= subject: [[String]] | ||
|p4= displayName: [[String]] - The visible name | |p4= displayName: [[String]] - The visible name | ||
|p5= picture: (optional): [[String]] | |p5= picture: (optional): [[String]] | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code> | |x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code> | ||
| [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] | | [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:12, 18 January 2021
Description
- Description:
- Create a new subject page in a log.
- Groups:
- Briefing
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
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.