Difference between revisions of "PositionWorld"
Jump to navigation
Jump to search
imported>Haama (Moved to PositionCell discussion) |
imported>Bluedanieru |
||
Line 3: | Line 3: | ||
PosWorld ''x, y, z, zRot, WorldID'' | PosWorld ''x, y, z, zRot, WorldID'' | ||
'''Example:''' | '''Example:''' | ||
PositionWorld 76345, 100.56, 215, | PositionWorld 76345, 100.56, 215, 3.14, 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. | 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 (measured in radians, not degrees). All parameters are floats. | ||
Note: In almost every case, you would rather use [[MoveTo]] instead of this command. | Note: In almost every case, you would rather use [[MoveTo]] instead of this command. |
Revision as of 07:15, 16 February 2011
Syntax:
PositionWorld x, y, z, zRot, WorldID PosWorld x, y, z, zRot, WorldID
Example:
PositionWorld 76345, 100.56, 215, 3.14, 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 (measured in radians, not degrees). All parameters are floats.
Note: In almost every case, you would rather use MoveTo instead of this command.
See Also