WarpUnit
Jump to navigation
Jump to search
Contents
{5F} WarpUnit
WarpUnit(xID,x00,XXX,YYY,xEL,xFD)
Warps a unit to a new location instantly.
See Also: {3D} RemoveUnit ― {44} Draw ― {46} Erase ― {94} TeleportOut ― {98} TeleportIn
Unit ID : Byte (hex)
ID of the unit specified in the ENTD.
x00 : Byte (hex)
This value is always set to x00 in the original game; it probably doesn't have a function.
X Coordinate : Byte (unsigned)
Value of the tile on the X axis.
Y Coordinate : Byte (unsigned)
Value of the tile on the Y axis.
Elevation : Byte (hex)
- 0x00 = Default elevation tile
- 0x01 = Higher elevation tile
Facing Direction : Byte (hex)
- 0x00 = South
- 0x01 = West
- 0x02 = North
- 0x03 = East