Home

TriggerItem

The abstract base of all Triggers.

Type

struct

Properties

entity_flags

Only prototypes with these flags are affected by the trigger item.

collision_mask

Only prototypes with these collision masks are affected by the trigger item.

ignore_collision_condition

trigger_target_mask

The trigger affects only prototypes with these masks.

repeat_count

probability

Must be greater than 0 and less than or equal to 1.

action_delivery

force

Only entities meeting the force condition are affected by the trigger item.