Difference between revisions of "WarpUnit"
Jump to navigation
Jump to search
(Created page with "= {5F} {{IE_5F}} = Changes instantly the location of a unit. See Also: {3D} {{IE_3D}} ― {44} {{IE_44}} ― Event_Instru...") |
|||
Line 1: | Line 1: | ||
= {5F} {{IE_5F}} = | = {5F} {{IE_5F}} = | ||
− | + | {{IE_5F_ex}} | |
+ | {{IE_5F_desc}} | ||
− | |||
+ | See Also: [[Event_Instruction_3D|{3D} {{IE_3D}}]] ― [[Event_Instruction_44|{44} {{IE_44}}]] ― [[Event_Instruction_46|{46} {{IE_46}}]] ― [[Event_Instruction_94|{94} {{IE_94}}]] ― [[Event_Instruction_98|{98} {{IE_98}}]] | ||
− | |||
− | |||
+ | {{UnitID}} | ||
− | |||
− | |||
+ | {{x00}} | ||
− | == X | + | |
+ | == X Coordinate : Byte (unsigned) == | ||
Value of the tile on the X axis. | Value of the tile on the X axis. | ||
− | == Y | + | == Y Coordinate : Byte (unsigned) == |
Value of the tile on the Y axis. | Value of the tile on the Y axis. | ||
Line 28: | Line 28: | ||
== Facing Direction : Byte (hex) == | == Facing Direction : Byte (hex) == | ||
− | *0x00 = | + | *0x00 = South |
− | *0x01 = | + | *0x01 = West |
− | *0x02 = | + | *0x02 = North |
− | *0x03 = | + | *0x03 = East |
Revision as of 16:05, 7 January 2014
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