社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+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 分)
...