Home

ProjectileTriggerDelivery

Type

struct

Properties

type

projectile

Name of a ProjectilePrototype.

starting_speed

Starting speed in tiles per tick.

starting_speed_deviation

direction_deviation

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

The maximum deviation of the projectile maximum range from max_range is max_range × range_deviation ÷ 2. This means a deviation of 0.5 will appear as a maximum of 0.25 (25%) deviation of an initial range goal. Post-deviation range may exceed max_range or be less than min_range.

max_range

min_range