Event Conditional 21

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

{21} UnitsInRange>=

UnitsInRange>=(xTM,xID,CNT,MIX,MIY,MAX,MAY)

A minimal number of units matching a certain team or Unit ID must be present within the X,Y to X,Y tile coordinates.


1) Team : Byte (Hex) / Half-Word (Hex)

  • 0x00 Specified Unit ID
  • 0x01 Ally Team
  • 0x02 Enemy Teams


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

ID of the unit specified in the ENTD. Ignored unless Team 0x00 is specified.


3) Minimum Unit Count : Byte (Unsigned) / Half-Word (Unsigned)

The minimum number of units that must be inside the range.


4) Min X : Byte (Unsigned) / Half-Word (Unsigned)

The lower X axis coordinate value.


5) Min Y : Byte (Unsigned) / Half-Word (Unsigned)

The lower Y axis coordinate value.


6) Max X : Byte (Unsigned) / Half-Word (Unsigned)

The higher X axis coordinate value.

7) Min Y : Byte (Unsigned) / Half-Word (Unsigned)

The higher Y axis coordinate value.