Difference between revisions of "PositionCell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Appler
imported>Syscrusher
m (→‎Notes: Grammar correction. Removed extraneous apostrophe.)
Line 11: Line 11:
*'''MoveTo''' and '''PositionCell''' perform the same function, but use different parameters ('''PositionCell''' uses coordinates while '''MoveTo''' uses a reference).
*'''MoveTo''' and '''PositionCell''' perform the same function, but use different parameters ('''PositionCell''' uses coordinates while '''MoveTo''' uses a reference).


*When called on a reference already within the destination cell, the reference remains in it's original location.
*When called on a reference already within the destination cell, the reference remains in its original location.


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

Revision as of 00:07, 27 February 2012

Syntax:

[reference.]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.

Notes

  • MoveTo and PositionCell perform the same function, but use different parameters (PositionCell uses coordinates while MoveTo uses a reference).
  • When called on a reference already within the destination cell, the reference remains in its original location.

See Also