Jump to content

'outSound' system unfit for purpose: Try and play two sounds using 'outSound' and it only plays the last one, can't tell when playback is finished, can't sequence multiple sounds


Recommended Posts

Posted (edited)

It should either play them sequentially (best)

or (with an option) over the top of each other. 

 

At the moment, it will only play the last one in the list. 

ie.

function PlaySounds()
  
  trigger.action.outSoundForCoalition(2, soundKey1)
  trigger.action.outSoundForCoalition(2, soundKey2)
  
end

Only soundKey2 plays. 

The play sound system is unfit for purpose because we can't sequence sounds to play immediately after each other and we can't know when a sound has finish and now we can't even play two sounds at the same time. 

Edited by Elphaba
  • Like 1
Posted

I agree that a method/option to have sounds played in sequence would be great. Currently, we need to put the next sound file trigger into a scheduler. And even that is difficult/tedious, because you need to know the exact length of the previous sound.

  • Like 2

A warrior's mission is to foster the success of others.

i9-12900K | RTX 4090 | 128 GB Ram 3200 MHz DDR-4 | Quest 3

RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss

  • 4 weeks later...
Posted

Thanks for posting this, @Elphaba!  Been pulling out my hair trying to figure out why two sounds aren't playing sequentially.  At least it was only a waste of 30 minutes thanks to this thread!  

  • Like 1
  • Thanks 1

System Specs:

Spoiler

📻Callsign:Kandy  💻Processor:13th Gen Intel(R) Core(TM) i9-13900K - 🧠RAM: 64GB - 🎥Video Card: NVIDIA RTX 4090 - 🥽 Display: Pimax 8kx VR Headset - 🕹️Accessories:  VKB Gunfighter III MCG Ultimate, VKB STECS Standard, Thrustmaster TPR Pedals, Simshaker JetPad, Predator HOTAS Mounts, 3D Printed Flight Button Box 

📹 Video Capture Software:  Open Broadcaster Software (OBS), 🎞️ Video Editing Software:  PowerDirector 365

Into The Jungle Apache Campaign - Griffins  Kiowa Campaign - Assassins  Thrustmaster TWCS Mod

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...