setDiarySubjectPicture: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
|x1= <code>[[player]] [[setDiarySubjectPicture]] ["Diary", "\A3\ui_f\data\map\markers\nato\o_mech_inf.paa"];</code> | |x1= <code>[[player]] [[setDiarySubjectPicture]] ["Diary", "\A3\ui_f\data\map\markers\nato\o_mech_inf.paa"];</code> | ||
|seealso= [[createDiarySubject]], [[diarySubjectExists]], [[allDiarySubjects]], [[Diary]] | |seealso= [[createDiarySubject]], [[removeDiarySubject]], [[selectDiarySubject]], [[diarySubjectExists]], [[allDiarySubjects]], [[Diary]] | ||
}} | }} |
Revision as of 19:02, 28 January 2021
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:
- 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
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
[[Category:Introduced with arma3dev version 2.03]][[ Category: arma3dev: New Scripting Commands | SETDIARYSUBJECTPICTURE]][[ Category: arma3dev: Scripting Commands | SETDIARYSUBJECTPICTURE]]