getGroupIcon – Talk

From Bohemia Interactive Community
Revision as of 18:02, 23 July 2012 by Terox (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)