Skip to content

15 — Destroyed, Buildings, #...

Satisfied once the trigger's own house has lost at least the given number of structures.

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

Valid values

  • A number of structures. The comparison is at or above the number, and the running total is never reduced.
Caveats
  • Losing a structure to an engineer counts as a loss, so a house that has been captured out of its base satisfies the event without a single structure having been destroyed.
  • Selling a structure does not count. That is the one way a structure leaves a house without adding to the total.
  • Structures marked Insignificant=yes are never counted.
  • 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.