setGroupIconParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 18: | Line 18: | ||
|gr1= High Command | |gr1= High Command | ||
| Set group icons parameters. [color,string,float,bool] | |descr= Set group icons parameters. [color, string,float,bool] | ||
| group | |s1= group [[setGroupIconParams]] [group, properties] | ||
|p1= group: [[Group]] | |p1= group: [[Group]] | ||
|p2= properties: [[Array]] | |p2= properties: [[Array]]: | ||
* color: [[Array]] format [[Color|Color (RGBA)]] | |||
* text: [[String]] | |||
* scale: [[Number]] | |||
* visible: [[Boolean]] | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <code>_grp [[setGroupIconParams]] [<nowiki/>[0.9,0,0, 1], "The Group", 1.25, [[false]]];</code> | ||
|seealso= [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]] | |seealso= [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]] | ||
}} | }} | ||
Revision as of 17:05, 12 June 2021
Description
- Description:
- Set group icons parameters. [color, string,float,bool]
- Groups:
- High Command
Syntax
- Syntax:
- group setGroupIconParams [group, properties]
- Parameters:
- group: Group
- properties: Array:
- color: Array format Color (RGBA)
- text: String
- scale: Number
- visible: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
_grp setGroupIconParams [[0.9,0,0, 1], "The Group", 1.25, false];
Additional Information
- See also:
- addGroupIconclearGroupIconsgetGroupIcongetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconsSelectablesetGroupIconsVisible
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