Inherits from TriggerEffectItem |
type | :: "play-sound" | |
sound | :: Sound | |
min_distance optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
max_distance optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
volume_modifier optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
audible_distance_modifier optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
play_on_target_position optional | :: bool |
repeat_count optional | :: uint16 | |
repeat_count_deviation optional | :: uint16 | |
probability optional | :: float | Must be greater than |
Must be greater than | ||
affects_target optional | :: bool | |
show_in_tooltip optional | :: bool | |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
sound | :: Sound | |
type | :: "play-sound" | |
audible_distance_modifier optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
max_distance optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
min_distance optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. | ||
play_on_target_position optional | :: bool | |
volume_modifier optional | :: float | Negative values are silently clamped to 0. |
Negative values are silently clamped to 0. |
affects_target optional | :: bool | |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] | ||
probability optional | :: float | Must be greater than |
Must be greater than | ||
repeat_count optional | :: uint16 | |
repeat_count_deviation optional | :: uint16 | |
show_in_tooltip optional | :: bool |
Default: 0
Negative values are silently clamped to 0.
Default: 1e21
Negative values are silently clamped to 0.
Default: 1
Negative values are silently clamped to 0.
Default: 1
Negative values are silently clamped to 0.