Types/AreaTriggerItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(1.0.0: added show_in_tooltip)
 
Line 15: Line 15:


=== target_entities ===
=== target_entities ===
'''Type''': [[Types/bool]]
'''Default''': true
=== show_in_tooltip ===
'''Type''': [[Types/bool]]
'''Type''': [[Types/bool]]



Latest revision as of 11:36, 8 September 2020

Extends Types/TriggerItem.

Mandatory properties

Inherits all properties from Types/TriggerItem.

radius

Type: Types/double

Optional properties

trigger_from_target

Type: Types/bool

Default: false

target_entities

Type: Types/bool

Default: true

show_in_tooltip

Type: Types/bool

Default: true

collision_mode

Type: Types/string

Default: "distance-from-collision-box"

Either "distance-from-collision-box" or "distance-from-center".