Difference between revisions of "PositionCell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
(whoops, optional stuff goes in brackets on the wiki)
imported>Appler
Line 10: Line 10:
==Notes==
==Notes==
*'''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.


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

Revision as of 20:30, 28 February 2010

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 it's original location.

See Also