• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. 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.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

how to make audio source play indefinitely?

alwaysblue

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