Types/PlaySoundTriggerEffectItem

From Official Factorio Wiki
Jump to navigation Jump to search

Extends Types/TriggerEffectItem.

Mandatory properties

Inherits all properties from Types/TriggerEffectItem.

sound

Type: Types/Sound

Optional properties

min_distance

Type: float

Default: 0

Negative values are silently clamped to 0.

max_distance

Type: float

Default: 1e21 (10^21)

Negative values are silently clamped to 0.

volume_modifier

Type: float

Default: 1

Negative values are silently clamped to 0.

audible_distance_modifier

Type: float

Default: 1

Negative values are silently clamped to 0.

play_on_target_position

Type: bool

Default: false