WarpUnit

From Final Fantasy Hacktics Wiki
Revision as of 15:27, 22 February 2021 by Xifanie (talk | contribs) (Xifanie moved page Event Instruction 5F to WarpUnit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{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