Event Conditional 22

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

{22} UnitsInRange<=

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

A maximal 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) Maximum Unit Count : Byte (Unsigned) / Half-Word (Unsigned)

The maximum 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) Max Y : Byte (Unsigned) / Half-Word (Unsigned)

The higher Y axis coordinate value.