setDiarySubjectPicture: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2") |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.04 | |||
|version1= 2. | |||
|arg= global | |arg= global | ||
Line 13: | Line 12: | ||
|descr= 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 icon for the fixed subjects, like "Tasks", "Diary", "Units", "Players" and "Statistics". | |descr= 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 icon for the fixed subjects, like "Tasks", "Diary", "Units", "Players" and "Statistics". | ||
|s1= | |s1= unit [[setDiarySubjectPicture]] [subject, picture] | ||
|p1= | |p1= unit: [[Object]] - unit | ||
|p2= subject: [[String]] - diary subject (see [[Diary]]) | |p2= subject: [[String]] - diary subject (see [[Diary]]) | ||
Line 23: | Line 22: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>player setDiarySubjectPicture ["Diary", "\A3\ui_f\data\map\markers\nato\o_mech_inf.paa"];</sqf> | ||
|seealso= [[createDiarySubject]] | |seealso= [[createDiarySubject]] [[removeDiarySubject]] [[selectDiarySubject]] [[diarySubjectExists]] [[allDiarySubjects]] [[Diary]] | ||
}} | }} |
Latest revision as of 15:52, 8 November 2023
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:
Additional Information
- See also:
- createDiarySubject removeDiarySubject selectDiarySubject diarySubjectExists allDiarySubjects Diary
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