getGroupIcon – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
_grpIcon = _group getGroupIcon _grpIconId;

The above example does not work for me, _grpIconId returns null

The first groupIcon attached to a unit has the ID of 1

The return values are

select 0: STRING - Marker class type

select 1: ARRAY - x,y offsets

--Terox 18:01, 23 July 2012 (CEST)