menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

+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

 

General Discussion Damian K. (920 포인트) 로 부터

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?
...