Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Play event once only

0 votes
Hi All

 

Im probably missing something obvious but I Im trying to play my event once only - I dont want it to play again once I move back through the original Box Collider trigger in Uniity. Is there an easy way to do this without code? I can obviously trigger a Stop event via TriggerExit but it plays again when I move back through the trigger. Any ideas?

 

Many Thanks

Steve
asked Sep 27, 2018 in General Discussion by Steven G. (100 points)

1 Answer

0 votes
Hi Steve

The right way to do this would definitely be through code. If that is not an option for you, you could set the volume of the sound to zero in the play event
using a "Set voice volume" action, with a delay corresponding to the length of the sound. Find your play event, right click in the event editor and select "Set voice volume",
and then drag in the sound in question, and set the delay to the length of the sound. It's a very ugly solution, but it should work.

Kind Regards
Tobias
answered Oct 18, 2018 by Tobias D. Nielsen (2,450 points)
...