From Bohemia Interactive Community
Revision as of 20:50, 1 June 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search

getPos obj

Operand types:

obj: Object

Type of returned value:


Description: Object position in format Position

See also: setPos


_pPos = getPos player

To get the x,y and z coordinates separately use:
_pPosX = getPos unitname select 0
_pPosY = getPos unitname select 1
_pPosZ = getPos unitname select 2