Difference between revisions of "PositionWorld"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Antares
(Ditto of position cell)
imported>Haama
(Moved to PositionCell discussion)
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. However, '''MoveTo''' requires a reference, '''PositionCell''' does not. Useful if you do not want to edit the destination cell.
Note: In almost every case, you would rather use [[MoveTo]] instead of this command.


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

Revision as of 21:00, 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.

See Also