コミュニティQ&A

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

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

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

+6 支持

Is there a way to reset the sequence variation for a sequence container that is "mid-sequence"?

 

Ex. Sequence Container w/ 4 variations in playlist

  • Event plays Sequence Container variation 1
  • Event plays Sequence Container variation 2
  • [MAGIC_HAPPENS_HERE]
  • Event plays Sequence Container variation 1 (instead of  Sequence Container variation 3)

So far, the Break Event Action does not "Reset" the playlist.

 

Thoughts?

-damian

 

Damian K. (920 ポイント) General Discussion

回答 3

+3 支持
Instead of a sequence container, you could use a switch container using an RTPC parameter to control what sound to play. Use an event that does +1 to the RTPC and also plays the switch container. Then have another event that can reset the RTPC value.

I suppose the trade-off is that if your RTPC value is 1, 2, 3, once it gets to 3, you'll also have to manually reset the RTPC unlike with a sequence container which would automatically go back to the beginning. At least they can be the same event though for resetting mid-sequence and resetting at the end.
Daniel Beck (390 ポイント)
Hey, this is a really cool suggestion and would totally work!
Just implemented it and it works! I want to specify if ever somebody else has the same issue : You're looking to add all of your sounds in a music segment (i.e. = have them play all at once) and then fine tune the volume RTPC of each SFX so that only one plays when RTPC is at 1, at 2, 3 and so forth.
I'd also change the general range of the RTPC you created so that it fits the number of SFX you have to play (i.e. if you have 8 SFX, create a range of 8).

In the event setup, you should be able to "Set Game Parameter". Just pick the RTPC you're using, select "Relative" and set "Game Parameter Value" to 1.
0 支持

By selecting the Game Object scope in the Sequence Container's Property Editor, every game object will have its own playlist context.  You could kill the game object at MAGIC_HAPPENS_HERE, and recreate it.  Don't know if that is feasible for you?

Bernard R. (Audiokinetic) (35.8k ポイント)
Definitely not ideal to go around destroying game objects. :)

Would be great to have an Event Action to Reset the Playlist!
For reference, this is feature request WG-14398.
Golden! Thanks for logging it!
+2 支持
As of 2015.1.9, an event can be created to reset the playlist.

https://www.audiokinetic.com/library/2015.1.9_5624/?source=Help&id=types_of_event_actions

It would be nice to be able to do this from code without creating a separate event for it (such as through EventAction or ExecuteActionOnEvent) but it appears that can't be done yet.
Matt J. (350 ポイント)
For me, as of version 2018.1.5 the "Reset_Playlist" event doesn't work at all. Anyone has the same issue?
...