menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

+2 投票
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.
分类:General Discussion | 用户: Patrizio T. (120 分)

3 个回答

0 投票
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!
用户: Pietro F. (150 分)
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 投票
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.
用户: Radek Karnik (990 分)
0 投票
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.
用户: Christina S. (140 分)
...