Difference between revisions of "PositionCell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Antares
(Updated information, more cases than we thought of IMHO)
imported>Haama
(Moving to discussion page)
Line 8: Line 8:
Warps the object to the interior cell coordinate location specified by x, y, and z. The object will be facing the world angle specified by zRot. All parameters are floats.  
Warps the object to the interior cell coordinate location specified by x, y, and z. 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 20:52, 6 September 2008

Syntax:

PositionCell x,y,z, zRot, CellID
poscell  x,y,z, zRot, CellID

Example:

PositionCell 76345, 100.56, 215, 176, ScaryCavern 


Warps the object to the interior cell coordinate location specified by x, y, and z. 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