createDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
|1.00
|1.00


| Create a new subject page in a log.
| Create a new [[Diary]] subject page in a log.
{{Informative | In Arma 3 the top subject called "Map" but it is a dummy, the 1st subject is Tasks, internal name is also "Tasks" and it is hidden until there are any assigned tasks to show. It cannot be modified directly. Second subject is called "Briefing", but its internal name is "Diary", this can be modified and selected. Next is called "Team", internal name "Units", cannot be modified but can be selected. Next is called "Players" (same internal name) but it is hidden in SP and also cannot be modified. Next is called "Statistics" (same internal name), hidden until there are some statistics to show (kills etc), cannot be modified. Any custom subjects created with [[createDiarySubject]] go at the bottom and can be modified. }}  
{{Informative | In Arma 3 the top subject called "Map" but it is a dummy, the 1st subject is Tasks, internal name is also "Tasks" and it is hidden until there are any assigned tasks to show. It cannot be modified directly. Second subject is called "Briefing", but its internal name is "Diary", this can be modified and selected. Next is called "Team", internal name "Units", cannot be modified but can be selected. Next is called "Players" (same internal name) but it is hidden in SP and also cannot be modified. Next is called "Statistics" (same internal name), hidden until there are some statistics to show (kills etc), cannot be modified. Any custom subjects created with [[createDiarySubject]] go at the bottom and can be modified. }}  



Revision as of 13:09, 27 January 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:
See also needed

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
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.