Event Conditional 22

From Final Fantasy Hacktics Wiki
Revision as of 03:33, 8 August 2020 by Xifanie (talk | contribs) (Created page with "= {22} {{EC_22}} = {{EC_22_ex}} {{EC_22_desc}} == 1) Team : Byte (Hex) / Half-Word (Hex) == * 0x00 Specified Unit ID * 0x01 Ally Team * 0x02 Enemy Teams == 2) Unit ID : B...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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) Min 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.