Difference between revisions of "GetPos"
Jump to navigation
Jump to search
imported>Slserpent m |
|||
Line 5: | Line 5: | ||
Returns the current world position of the object on the selected axis (X, Y, or Z) in float. | 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. | ||
Revision as of 02:49, 13 June 2006
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.