Event Conditional 24

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

{24} UnitDistance<=

UnitDistance<=(xID,xID,DST)

Two units specified by their Unit IDs must be a maximal tile distance apart from each other.


1) Unit ID A : Byte (Hex) / Half-Word (Hex)

ID of the unit specified in the ENTD.


2) Unit ID B : Byte (Hex) / Half-Word (Hex)

ID of the unit specified in the ENTD.


3) Maximal Tile Distance : Byte (Unsigned) / Half-Word (Unsigned)

The maximum number of tiles between both units. For example, a tile distance of 1 represents both units being next to each other.