setDiarySubjectPicture

From Bohemia Interactive Community
Revision as of 16:52, 3 May 2021 by Lou Montana (talk | contribs) (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

Syntax

Syntax:
unit setDiarySubjectPicture [subject, picture]
Parameters:
unit: Object - Unit
subject: String - Diary subject (see Diary)
picture: String - Icon path
Return Value:
Nothing

Examples

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

Additional Information

See also:
createDiarySubjectremoveDiarySubjectselectDiarySubjectdiarySubjectExistsallDiarySubjectsDiary

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