Types/TriggerItem: Difference between revisions
Jump to navigation
Jump to search
(1.1: Renamed "source_effects" property of line trigger item to "range_effects", due to ambiguity with source_effects on action delivery) |
(link outwards to Types/Trigger) |
||
Line 1: | Line 1: | ||
The abstract base for all trigger items loaded by [[Types/Trigger]]. | |||
== Extensions == | == Extensions == | ||
* [[Types/DirectTriggerItem]] | * [[Types/DirectTriggerItem]] |
Revision as of 15:51, 17 June 2022
The abstract base for all trigger items loaded by Types/Trigger.
Extensions
Optional properties
entity_flags
Type: Types/EntityPrototypeFlags
Default: All flags
Only prototypes with these flags are affected by the trigger item.
ignore_collision_condition
Type: Types/bool
Default: false
trigger_target_mask
Type: Types/TriggerTargetMask
Default: everything
repeat_count
Type: Types/uint32
Default: 1
probability
Type: Types/float
Default: 1
Must be greater than 0 and less than or equal to 1.
collision_mask
Type: Types/CollisionMask
Default: All masks
Only prototypes with these collision masks are affected by the trigger item.
action_delivery
Type: Types/TriggerDelivery or Types/table of Types/TriggerDelivery
force
Type: Types/ForceCondition
Default: All forces
Only entities meeting the force condition are affected by the trigger item.