Description
Sets group icon properties. Since Arma 3 v2.22 the offset can be set separately for 2d and 3d.
Syntax
group setGroupIcon [id, icon, offset]
Parameters:
group: Groupid: Number - the icon ID returned by addGroupIconicon: String - class name of desired icon from CfgGroupIconsoffset: Array - (Optional, default [0,0]) X and Y offsets of the icon in form [offsetX, offsetY, (offsetX3d), (offsetY3d)]
Returns: Nothing
Examples
Example 1
_target setGroupIcon [_icon, "hc_selectedEnemy"];
_target setGroupIcon [_icon, "flag"];
_group setGroupIcon [_icon, _iconsClass, _offset];
See also
addGroupIcon · clearGroupIcons · getGroupIcon · getGroupIcons · getGroupIconParams · groupIconSelectable · groupIconsVisible · onGroupIconClick · removeGroupIcon · setGroupIconParams · setGroupIconsSelectable · setGroupIconsVisible