A function used to get the position of an entity.
_entity | <MARKER, OBJECT, LOCATION, GROUP, TASK, WAYPOINT or POSITION> |
_position = (group player) call CBA_fnc_getPos
Position (AGLS) | [X,Y,Z] Z will always be 0 for MARKER, LOCATION and TASK. If entity is GROUP, the position of the group leader will be reported. For OBJECT and GROUP, the z will be relative to the first RoadWay LOD below the object (AGLS format). If POSITION was provided, the position array will be copied. Defaults to [0,0,0] if the entity is null or undefined. |
Rommel