setGroupIconParams: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= * )+" to "") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (24 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|eff= local | |eff= local | ||
| Line 10: | Line 18: | ||
|gr1= High Command | |gr1= High Command | ||
| Set group icons parameters. | |descr= Set group icons parameters. | ||
| group | |s1= group [[setGroupIconParams]] properties | ||
|p1= group: [[Group]] | |p1= group: [[Group]] | ||
|p2= properties: [[Array]] | |p2= properties: [[Array]] with [color, text, scale, visibility, WPvisibility WPcolor] | ||
* color: [[Color|Color (RGBA)]] | |||
* text: [[String]] | |||
* scale: [[Number]] | |||
* visibility: [[Boolean]] | |||
* WPvisibility: [[Boolean]] | |||
* WPcolor: [[Color|Color (RGBA)]] | |||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_grp setGroupIconParams [[0.9,0,0,1], "The Group", 1.25, false];</sqf> | ||
_grp setGroupIconParams [[0,0,0, | |||
| [[addGroupIcon]] | |seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcon]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]] | ||
}} | }} | ||
Revision as of 10:01, 2 January 2026
Description
- Description:
- Set group icons parameters.
- Groups:
- High Command
Syntax
- Syntax:
- group setGroupIconParams properties
- Parameters:
- group: Group
- properties: Array with [color, text, scale, visibility, WPvisibility WPcolor]
- color: Color (RGBA)
- text: String
- scale: Number
- visibility: Boolean
- WPvisibility: Boolean
- WPcolor: Color (RGBA)
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- addGroupIcon clearGroupIcons getGroupIcon getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconsSelectable setGroupIconsVisible
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note