getGroupIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(6 intermediate revisions by 2 users not shown)
Line 23: Line 23:
|p1= group: [[Group]]
|p1= group: [[Group]]


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


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


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


|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconParams]] [[setGroupIconsSelectable]], [[setGroupIconsVisible]]
|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcons]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconParams]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]]
}}
}}

Latest revision as of 11:34, 3 September 2024

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:
addGroupIcon clearGroupIcons getGroupIcons getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible

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