Difference between revisions of "SetPos"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Slserpent
imported>JOG
Line 4: Line 4:
  SetPos y, 100.56  
  SetPos y, 100.56  


Changes the object's position along the specified axis (x, y, z). Position is a float. Position is also absolute. If you need to move an object by a relative amount, modify the return from [[GetPos]].
Changes the object's world-position along the specified axis (x, y, z). Position is a float.
   
   


[[Category: Functions]]
[[Category: Functions]]
[[Category: Movement Functions]]
[[Category: Movement Functions]]

Revision as of 09:25, 13 June 2006

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.