Please be advised that the Audiokinetic offices will close at 3:00 p.m. EST on December 23rd, 2019 for the holiday period, and will reopen on January 3rd, 2020 at 9:00 a.m. EST. Learn more.

Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Define and change the scope of container

0 votes

I have a problem and I think I know it but I've not the solution:
It's a racing game, in which I put a music. I would like this music to change according to different switch:
   - Switch Intro ("Set switch" INTRO in the EVENT that starts the music)
   - Switch Gameplay ("set switch" GAMEPLAY when departure of the race)
   - Turbo switch (which activates that the turbo is activated)
   - Switch End (when the player crosses the finish line)
   - ...
I linked all these switches to different events (Green Light, Turbo Available, Game Finish ..) When I test in the SoundCaster it works perfectly but in Unity it does not work.
I'm pretty sure it comes from the "Scope of a Container", but I do not find how to link these switches to my GameObject that "plays" the music.
How to change that?

Thank you

Theophile Demarcq
asked Jul 17 in General Discussion by Théophile Demarcq (400 points)

Please sign-in or register to answer this question.