Event Conditional 23
Jump to navigation
Jump to search
Contents
{23} UnitDistance>=
UnitDistance>=(xID,xID,DST)
Two units specified by their Unit IDs must be a minimal 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) Minimal Tile Distance : Byte (Unsigned) / Half-Word (Unsigned)
The minimum number of tiles between both units. For example, a tile distance of 1 represents both units being next to each other.