32 — Destroy attached building
Kills every object whose tag is attached to this trigger, and damages a bridge at the cell the trigger sprang from.
- Numeric ID
32- Engine ID
TACTION_DESTROY_OBJECT- Editor name
- Destroy attached building
- Need token
NEED_NONE- Parameters
- None
- Attachment
- object
[Actions]
<TriggerID>=1,32,0,0,0,0,0,0,What is killed
Section titled “What is killed”The action kills each infantry, vehicle, aircraft and structure that meets all of:
- it has strength left;
- it is on the map, not in limbo, so passengers and objects inside a factory are skipped;
- it holds the tag that this trigger belongs to.
The damage uses C4Warhead, which chooses the death effects, such as the infantry death animation.
Destroyed by anything and Destroyed by anything [not infiltrate] spring on a victim’s tag only when that tag did not fire this trigger, because a tag ignores offers while it is being sprung. Every victim holds the tag whose trigger is running. The destroyed events therefore spring on victims only when Force Trigger, run by a trigger on a different tag, fired this trigger.
The bridge
Section titled “The bridge”The action damages a bridge only when the offer that fired the trigger named a cell. It damages the bridge at that cell up to four times, and stops as soon as the span is destroyed. This happens even when DestroyableBridges=no.
The cell depends on the event that fired the trigger:
| Event | Cell |
|---|---|
| Cell entry | The tagged cell |
| A line crossing | The cell the infantry or vehicle entered, anywhere along the row or column |
| Zone entry | The destination of the infantry or vehicle, anywhere in the zone |
| Any other event, or Force Trigger | None, so no bridge is damaged |
- Every infantry, vehicle, aircraft and structure that holds the same tag as the fired trigger is killed, not only the object that sprang it. For a TeamType's tag, that means the members of the one team whose tag fired, not other teams of the same type.
- The damage equals the victim's remaining strength and is applied as forced damage. The armor table,
Immune=yes, the prone reduction and the cyborg's crawling reprieve do not apply. - No attacker is recorded. No house is angered or gains points, nothing gains experience, and
Attacked by any houseandDestroyed by any housenever spring on the victim's tag. - The [bridge damage](#the-bridge) does not depend on anything being killed.