GetPos

From the Oblivion ConstructionSet Wiki
Revision as of 10:53, 9 July 2012 by imported>QQuix (Fixed note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 about 100 units higher than the actual player Z position. The actual difference dependes on the player race.


See Also