getGroupIcon: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
No edit summary
 
Line 17: Line 17:
|gr1= High Command
|gr1= High Command


|descr= Get group icon properties.
|descr= Get group icon properties. Since Arma 3 v2.22 command also returns 3d offsets.
 
|s1= group [[getGroupIcon]]  id
|s1= group [[getGroupIcon]]  id


Line 25: Line 24:
|p2= id: [[Number]] - icon id
|p2= id: [[Number]] - icon id


|r1= [[Array]]
|r1= [[Array]] - [icon,[offsetx,offsety,offsetX3d,offsetY3d]]
 


|x1= <sqf>
|x1= <sqf>

Latest revision as of 00:17, 30 October 2025

Hover & click on the images for description

Description

Description:
Get group icon properties. Since Arma 3 v2.22 command also returns 3d offsets.
Groups:
High Command

Syntax

Syntax:
group getGroupIcon id
Parameters:
group: Group
id: Number - icon id
Return Value:
Array - [icon,[offsetx,offsety,offsetX3d,offsetY3d]]

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.
Only post proven facts here! Add Note