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

+1 투표
Is it possible to receive a state change and then within wwise trigger an event at the time of that state change? Thanks!
General Discussion Graham H. (160 포인트) 로 부터

1 답변

+1 투표
You cannot trigger an event from a state change, but you can trigger a sound's playback using a switch container in continuous mode:
- assign your state group and state to a switch container
- assign the sound you want to trigger to the relevant state in this container
- set the container's Play Mode to continuous

Then at runtime:
- start the switch container early on (maybe from an init event or something), it will be silently waiting
- when your state changes to the desired value, the switch container will play the relevant sound

Hope this helps :)
Matthieu B. (820 포인트) 로 부터
Merci, Matthieu!

That did it. Thank you.
Cool, glad it worked.
...