Types/ArtilleryTriggerDelivery: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Copied direction deviation description from Types/ProjectileTriggerDelivery (their code looks the same))
Line 23: Line 23:


'''Default''': 0
'''Default''': 0
Maximum deviation of the projectile from source orientation, in +/- ( x radians / 2). Example: 3.14 radians -> +/- (180° / 2), meaning up to 90° deviation in either direction of rotation.


=== range_deviation ===
=== range_deviation ===

Revision as of 11:59, 9 January 2023

Extends Types/TriggerDelivery.

Mandatory properties

projectile

Type: Types/string

Name of a Prototype/ArtilleryProjectile.

starting_speed

Type: Types/float

Optional properties

Inherits "source_effects" and "target_effects" properties from Types/TriggerDelivery.

starting_speed_deviation

Type: Types/float

Default: 0

direction_deviation

Type: Types/float

Default: 0

Maximum deviation of the projectile from source orientation, in +/- ( x radians / 2). Example: 3.14 radians -> +/- (180° / 2), meaning up to 90° deviation in either direction of rotation.

range_deviation

Type: Types/float

Default: 0

trigger_fired_artillery

Type: Types/bool

Default: false