setDiarySubjectPicture

From Bohemia Interactive Community
Jump to navigation Jump to search
Arma 32.03DEV BRANCH ONLY ⚠Arguments are globalEffect is local to the client
Hover & click on the images for descriptions

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

Syntax

Syntax:
person setDiarySubjectPicture [subject, picture]
Parameters:
person: 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
Groups:
Briefing

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.