GetPos

Revision as of 06:54, 9 July 2012 by imported>QQuix (Note added)

Syntax:

GetPos axis

Example:

GetPos Z 

Returns the current world position of the object on the selected axis (X, Y, or Z) in float.

Notes

If the player is swimming, PlayerRef.GetPos Z returns a value 105.29 units higher than the actual player Z position.


See Also