getGroupIcon – Talk
Categories: 
 (Created page with "<pre>_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE"; _grpIcon = _group getGroupIcon _grpIconId;</pre>  The above example does not work for me, _grpIconId returns null   Th...")  | 
				No edit summary  | 
				||
| Line 10: | Line 10: | ||
select 0: STRING - Marker class type  | select 0: STRING - Marker class type  | ||
select   | select 1: ARRAY - x,y offsets  | ||
--[[User:Terox|Terox]] 18:01, 23 July 2012 (CEST)  | --[[User:Terox|Terox]] 18:01, 23 July 2012 (CEST)  | ||
Latest revision as of 17:02, 23 July 2012
_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)