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.

How do I make a Random Containers "choice" persist after a death(reload)?

0 votes

I am using Wwise to insert an infrasonic sound effect at key points in a game to measure the effect on game emmersion. The chance of the infrasound being played when the character enters a scene (triggers a switch) should be 50%. This chance selection should persist if the character dies, until the character progresses to the next scene.

I have my infrasound SFX and a silence SFX in a random container with a 50/50 weighting. When the character dies the 'dice are rolled again', however I want the chance to be evaluated only when the character enters the scene for the first time and not when they respawn.

Does any one have any suggestions?

Thank you.

asked Jul 16, 2016 in General Discussion by Henry S. (100 points)

1 Answer

0 votes
This would have to be on the code side of things. You would need your programmer to send you an event which you would use to trigger the random container in question, and which does a sort of IF/THEN/ELSE check on whether the character has just respawned, whether the event triggering the random container was already triggered in the last x seconds, or so on, before sending the event.
answered Aug 4, 2016 by Beatrix Moersch (3,280 points)
...