getGroupIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
 
|version1= 1.00
 
|game2= arma2oa
 
|version2= 1.51
 
|game3= tkoh
 
|version3= 1.00
 
|game4= arma3
 
|version4= 0.50
 
|arg= global
|arg= global


|gr1= High Command
|gr1= High Command


| Get group icon properties.
|descr= Get group icon properties.


| group '''getGroupIcon''' ID
|s1= group '''getGroupIcon''' id


|p1= group: [[Group]] -
|p1= group: [[Group]]


|p2= ID: [[Number]] -
|p2= id: [[Number]] - Icon id


| [[Array]]
|r1= [[Array]]


|x1= <pre>_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
|x1= <code>_grpIconId = _group [[getVariable]] "BIS_MARTA_ICON_TYPE";
_grpIcon = _group getGroupIcon _grpIconId;</pre>
_grpIcon = _group [[getGroupIcon]] _grpIconId;</code>


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

Revision as of 13:36, 26 March 2021

Hover & click on the images for description

Description

Description:
Get group icon properties.
Groups:
High Command

Syntax

Syntax:
group getGroupIcon id
Parameters:
group: Group
id: Number - Icon id
Return Value:
Array

Examples

Example 1:
_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE"; _grpIcon = _group getGroupIcon _grpIconId;

Additional Information

See also:
addGroupIconclearGroupIconsgetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectablesetGroupIconsVisible

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