Skip to content

CrateTrigger

Whether collecting the overlay springs the crate pickup trigger events.

Specification
Applies to
OverlayType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

Collecting an overlay with CrateTrigger=yes fires two trigger events:

  • Pickup Crate springs on the collector’s tag, if the collector has one, before the crate’s result is chosen.
  • Pickup Crate (any) fires for the scenario’s general triggers on the next game frame.

If the Pickup Crate trigger destroys the collector, collection stops there. The crate stays on the map, no result is delivered, and Pickup Crate (any) does not fire.

The overlay must also set Crate=yes. An overlay that is not a crate is never collected, so CrateTrigger=yes alone fires nothing.

See also — crates