• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

how to make audio source play indefinitely?

alwaysblue

Member
Joined
Jan 28, 2024
Messages
126
Reactions
5
I want to play the macgrubers random sound indefinitely, i managed to make a button with a trigger in it but I cant seem to figure out how to make it play randomly, when I press the trigger it only plays one sound and stops, I set the mode to PlayNowLoop inside the random sound plug in but it only plays one sound in loop, in the reciever target these are the only options given:
p111.png


any help would be nice
 
Just found out a few weeks ago, add a brick eventaudioqueue or whatever is called to trigger when the audio queue is empty.
 
As @atani said, there is a LogicBrick named "EventAudioQueueEmpty". It gives you a trigger signal whenever the audio finished playing. So have that trigger the RandomSound brick. That way you don't have to caree about the length of audio files.
 
Back
Top Bottom