TEMPEST.114 Posted June 5, 2022 Posted June 5, 2022 I'm trying to have a trigger fire when a sound file has finished playing. Is this possible without knowing before hand the duration of the sound file? I want aircraft to listen to a broadcast on a specific frequency, and then after the audio has finished playing for each of the players (multiplayer) I want to play another sound file (that will be randomly selected). To do this I need to have a trigger fire when a sound file has finished playing.
dark_wood Posted June 6, 2022 Posted June 6, 2022 It don't seems possible without using a dedicated LUA library. One solution will be to include the time duration in file name, read it with LUA (and take duration from it), play the sound then execute a delayed function with a scheduler (using duration extracted from filename to schedule the next sound) Oh, and I think you should move this topic to main Mission Editor category, cause it doesn't sound like a bug.. Hope it helps
Recommended Posts