Types/AreaTriggerItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Extends Types/TriggerItem. == Mandatory properties == Inherits all properties from Types/TriggerItem. === radius === '''Type''': Types/double == Optional proper...")
 
(1.0.0: added show_in_tooltip)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


== Optional properties ==
== Optional properties ==
=== trigger_from_target ===
'''Type''': [[Types/bool]]
'''Default''': false


=== 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".