Difference between revisions of "PositionCell"
Added a note about use of radians
imported>Syscrusher m (→Notes: Grammar correction. Removed extraneous apostrophe.) |
imported>QQuix (Added a note about use of radians) |
||
|
'''Syntax:'''
''[reference.]''PositionCell'' x,y,z, zRot, CellID''
''[reference.]''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 (measured in radians, not degrees). All parameters are floats. ▼
▲'''Example:'''
▲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==
*
*To convert to radians, multiply your regular Oblivion Z rotation by 0.01745.
*When called on a reference already within the destination cell, the reference remains in its original location.
| |||