Types/CyclicSound: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Optional properties == === begin_sound === '''Type''': Types/Sound === middle_sound === '''Type''': Types/Sound === end_sound === '''Type''': Types/Sound")
 
(Descriptions for the 3 sounds)
Line 1: Line 1:
Used by [[Types/BaseAttackParameters]] to play a sound during the attack.
== Optional properties ==
== Optional properties ==
=== begin_sound ===
=== begin_sound ===
'''Type''': [[Types/Sound]]
'''Type''': [[Types/Sound]]
Played once at the beginning of the overall cyclic sound.


=== middle_sound ===
=== middle_sound ===
'''Type''': [[Types/Sound]]
'''Type''': [[Types/Sound]]
Played repeatedly after the begin_sound was played.


=== end_sound ===
=== end_sound ===
'''Type''': [[Types/Sound]]
'''Type''': [[Types/Sound]]
Played once when the overall cyclic sound is requested to end.

Revision as of 14:40, 29 April 2022

Used by Types/BaseAttackParameters to play a sound during the attack.

Optional properties

begin_sound

Type: Types/Sound

Played once at the beginning of the overall cyclic sound.

middle_sound

Type: Types/Sound

Played repeatedly after the begin_sound was played.

end_sound

Type: Types/Sound

Played once when the overall cyclic sound is requested to end.