コミュニティQ&A

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

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

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

0 支持
Hey Dear Wwise users,

 

I am Kinda new to Wwise, but i used FMOD in the past.

I am working on a simple shooter-game to practise with Wwise.

My problem is that I am trying to create a machinegun sound for multiple enemies.

Currently I made a looping gun sound that I can call with "Machinegun_event"

I made a stop event to stop the machine gun(with a nice gun tail sound).

Since there are multiple enemies the sound will be Triggerd more than once(which is fine).

But when 1 enemy stops shooting the stop event will be called.

My only fear is that the stop_event will stop the sound of all shooting enemies.

 

If someone could help me confirm that this won't happen or knows a better way to do this that would be great.

GReetings from Joppe
joppe c. (100 ポイント) General Discussion

回答 1

+1 支持
Hey Joppe,

Actions such as play or stop in events operates on a set scope.

"Game Object" - means that the set action will only be performed on the game object that this event is posted on in the game engine. In your case, you want to call stop event with the added tail of your sound set on the game object of the individual enemy, with the scope set to "Game Object" in your event.
"Global" - means that this action will be carried out in all instances of the event on all instances of the game object. This is handy when you want to control every instance of an event or to set a RTPC value globally on all actors that uses it.

Hope that helps!
Per W. (160 ポイント)
Perfect anwser.

:)

thanks for helping me out!
...