setGroupIconParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
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 '''setGroupIconParams''' properties
|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= <pre>_grp setGroupIconParams [_color,_text,_scale,_visible];
|x1= <code>_grp [[setGroupIconParams]] [<nowiki/>[0.9,0,0, 1], "The Group", 1.25, [[false]]];</code>
_grp setGroupIconParams [[0,0,0,0],"",1,false];</pre>


|seealso= [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]]
|seealso= [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 17:05, 12 June 2021

Hover & click on the images for description

Description

Description:
Set group icons parameters. [color, string,float,bool]
Groups:
High Command

Syntax

Syntax:
group setGroupIconParams [group, properties]
Parameters:
group: Group
properties: Array:
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