createDiarySubject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 9: | Line 8: | ||
|1.00|Game version= | |1.00|Game version= | ||
| Create a new subject page in a log. |DESCRIPTION= | | Create a new subject page in a log. |DESCRIPTION= | ||
| person '''createDiarySubject''' [subject, displayName, picture] |SYNTAX= | | person '''createDiarySubject''' [subject, displayName, picture] |SYNTAX= | ||
Line 32: | Line 29: | ||
|x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>|EXAMPLE1= | |x1= <code>_index <nowiki>=</nowiki>[[player]] [[createDiarySubject]] ["myPage","My page"];</code>|EXAMPLE1= | ||
| [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] |SEEALSO= | | [[processDiaryLink]], [[createDiaryLink]], [[createDiaryRecord]], [[diarySubjectExists]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 00:31, 17 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.