Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

+2 votes
Hi guys!
I'm trying to stop a music event (battle music), when my boss dies. I could use a RTCP but for some reasons (which it would be too long to explain) I've used an event to trigger the battle_music to play. That worked, but I'm having problem to stop that music. I've created a battle_ music stop_event which it would be triggered by the boss_death event, but in the game the music doesn't stop. Any idea?

I can add screenshots if that's not clear.
dans General Discussion par Patrizio T. (120 points)

3 Réponses

0 votes
Hi! Not a real answer, sorry, but I have the same exact problem in the Limbo session demo.

Two separate events showld:
1) start the first track
2) stop the previous track and start the second one

In the soundcaster session everything works fine, but in game the first track won't stop.

Also, in profiling the two events everything seems ok when it clearly isn't. Have you found any solutions?
I will write here if I find a solution.

Have a nice day!
par Pietro F. (150 points)
Hey I solved the problem! I am a noob since I started recently, so I don't really know what I did... In the event editor on the right, under the  "Scope" menu I set it to "global" instead of "game object". Now the music stops as planned.
Hi Pietro, I didn't find a way to fix it. I'm not really sure what is going on with event called by Unity. It must something related to it.

I've used an RTCP to switch the music, in the end.

Still, it'd be great to know why that wasn't working.
You're a legend. I have been struggling stopping events for hours and hours. And changing to global instantly fixed my problems. Man, I was getting suicidal about this
0 votes
Hello, make sure that your stop and play events are posted on the same game object. Alternatively, you can set the stop event scope to "Global" instead of "Game Object" in event editor in your Wwise project.
par Radek Karnik (990 points)
0 votes
You could use a transition segment to play an exit cue? Also, ensure your Transitions are ticked to what you want to happen, e.g. Exit the cue at the next beat / bar, not at the end of the music cue, which is what sounds like is happening. It's the top tick box, when setting up transitions. you can also set fade-ins/outs here as well.
par Christina S. (140 points)
...