GetPos

From the Oblivion ConstructionSet Wiki
Revision as of 02:53, 13 June 2006 by imported>Slserpent
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. The player coord system appears to differ from the object coords; so be wary of getting and setting positions relative to the player with this function (use MoveTo instead).