AudioEvent¶
(SoundEffects.ini and Voice.ini)
Stop loops early¶
Added a stopearly control flag to be used for looping audio.
This causes the currently played audio to stop, whenever the loop ends, instead of finishing it.
Decay sounds will still be played afterwards. This allows using longer sound files without them playing when their event is over already.
example:
AudioEvent RandomAmbientSoundLoop
Control = loop random stopearly interrupt
Sounds = RandomLoopA
Attack = RandomLoopStartA
Decay = RandomLoopEndA
...
End
This has no effect for non-loop sounds. It is recommended to use 'interrupt' along with it.