• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

how to make audio source play indefinitely?

alwaysblue

Member
Joined
Jan 28, 2024
Messages
125
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