コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

Question asked on Youtube.
Instead of using States for entering/exiting, would it be "wrong" to just use simple Play/Stop Events for this?

Mads Maretty S. (Audiokinetic) (40.2k ポイント) General Discussion

回答 1

0 支持

Hello. 

Use Play/Stop Events to stop the Music or setting States using Event Actions? If setting States, look below.


No, certainly not. It really depends on how you want to "manage" it in your production, and how much visibility you want the game side to have. Let me exemplify... 

Setting a State directly
If you set the State directly from the code, you will have visibility from the game, that you are setting a State. Maybe you have a Wwise-Type State, that ensures only States can be selected. Or maybe you are just setting States with text, so you avoid having to make numerous Wwise-types for each State, but just send the name of e.g. the region.

Setting a State using an Event
If you set a State using an Event Action, you will technically achieve the same thing, but the visibility from the game will only be the name of the Event (which might be good to simplify it for the rest of your team). This approach also has the benefit of being able to manage your Event Actions in Wwise without having to do any changes in the game. For instance, say you've made a "Player_EnterVillage" Event, which is setting the State to "Village" and you later decide to set an RTPC from that same Event. All you need to do is add another Event Action, generate new SoundBanks, and voila, it's in the game. 

So which method is best? It really depends on your game. Your question raises a very important point when integrating sound, which is to consider leveraging Events and Event Actions to retain sound controls on the Wwise-side of things and hereby be able to work more independently from the game engine. 

Mads Maretty S. (Audiokinetic) (40.2k ポイント)
...