SetPos
Revision as of 10:46, 13 June 2006 by imported>Omzy
Syntax:
SetPos axis, pos
Example:
SetPos y, 100.56
Changes the object's world-position along the specified axis (x, y, z). Position is a float.
Setting this value via computations does not work. Instead, use GetPos with computations and use the result as a variable for SetPos.
This does not work:
SetPos X (GetPos X + 40)
This works:
short xPos Set xPos to (GetPos X + 40) SetPos X xPos