setDiarySubjectPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
|gr2= Briefing
|gr2= Briefing


| Sets a picture to be displayed on the right of the [[Diary]] subject. The picture can also be set during custom [[Diary]] subject [[createDiarySubject | creation]], but this command allows to change picture for the fixed subjects, like "Tasks", "Diary", "Units", "Players" and "Statistics".
| Sets a picture to be displayed on the right of the [[Diary]] subject. The picture can also be set during custom [[Diary]] subject [[createDiarySubject | creation]], but this command also allows to change picture for the fixed subjects, like "Tasks", "Diary", "Units", "Players" and "Statistics".


| person [[setDiarySubjectPicture]] [subject, picture]
| person [[setDiarySubjectPicture]] [subject, picture]

Revision as of 13:16, 25 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
Parameters:
person: Object - player
[subject, picture]: Array
subject: String - diary subject (see Diary)
picture: String - icon path
Return Value:
Return value needed

Examples

Example 1:
player setDiarySubjectPicture ["Diary", "\A3\ui_f\data\map\markers\nato\o_mech_inf.paa"];

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