Difference between revisions of "PositionWorld"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Vswe
m (Added Search Terms)
imported>Antares
(Ditto of position cell)
Line 7: Line 7:
Warps the object to the exterior coordinate location specified by x, y, and z in the specified worldspace. The object will be facing the world angle specified by zRot. All parameters are floats.  
Warps the object to the exterior coordinate location specified by x, y, and z in the specified worldspace. The object will be facing the world angle specified by zRot. All parameters are floats.  


Note: In almost every case, you would rather use [[MoveTo]] instead of this command.  
Note: In almost every case, you would rather use [[MoveTo]] instead of this command. However, '''MoveTo''' requires a reference, '''PositionCell''' does not. Useful if you do not want to edit the destination cell.


== See Also ==
== See Also ==

Revision as of 10:07, 6 September 2008

Syntax:

PositionWorld x, y, z, zRot, WorldID 
PosWorld x, y, z, zRot, WorldID 

Example:

PositionWorld 76345, 100.56, 215, 176, Tamriel 

Warps the object to the exterior coordinate location specified by x, y, and z in the specified worldspace. The object will be facing the world angle specified by zRot. All parameters are floats.

Note: In almost every case, you would rather use MoveTo instead of this command. However, MoveTo requires a reference, PositionCell does not. Useful if you do not want to edit the destination cell.

See Also