createDiarySubject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
No edit summary
Line 8: Line 8:


| Create a new subject page in a log.
| Create a new subject page in a log.
{{Informative | In Arma 3 the top subject called "Map" but it is a dummy, the 1st subject's internal name is "Tasks" and it is special subject that cannot be modified or selected. 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. }}


| person '''createDiarySubject''' [subject, displayName, picture]
| person '''createDiarySubject''' [subject, displayName, picture]

Revision as of 21:20, 22 January 2021

Hover & click on the images for description

Description

Description:
Create a new subject page in a log.
In Arma 3 the top subject called "Map" but it is a dummy, the 1st subject's internal name is "Tasks" and it is special subject that cannot be modified or selected. 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.
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

See also:
processDiaryLinkcreateDiaryLinkcreateDiaryRecorddiarySubjectExists

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