Skip to content

16 — Destroyed, Units, #...

Satisfied once the trigger's own house has lost at least the given number of vehicles, infantry and aircraft.

Editor data
Numeric ID
16
Engine ID
TEVENT_NUNITS_DESTROYED
Editor name
Destroyed, Units, #...
Need token
NEED_NUMBER
Parameters
  1. Numberinteger
Attachment
house
INI example
[Events]
<TriggerID>=1,16,0,<Number>

Valid values

  • A number of objects. The comparison is at or above the number, and the running total is never reduced.
Caveats
  • Aircraft and infantry add to the same total as vehicles, so the number covers all three rather than vehicles alone.
  • The total counts objects marked Insignificant=yes as well, which is the opposite of how the matching structure total behaves.
  • An object that changes hands counts as a loss for the house that lost it, the same as one destroyed.
  • The total is kept for the house that owns the trigger, whatever house did the destroying.
  • The event has nothing to ride on. Its tag joins the list of the trigger's own house, which adds nothing to the attachment total a semi-persistent tag waits on, so a trigger built on events of this kind needs a volatile or a persistent tag.