Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

Hi, I need to make a sound play once, right when one of my game parameters (RTPC) hits a certain value.

How can I do this?

I'm guessing that doing it through a switch linked to the player hp would also work, but I don't know how to use a switch like an event.

in General Discussion by Gab F. (100 points)

1 Answer

0 votes

Hi!

You'd have to put your Switch in continuous mode. Set up your Switch with the RTPC. Then the key step you are missing is that you have to play an event, at the start of your game, that plays your switch on your player (or watever object that's persistent through your level and where your RTPC is updated). Make sure your RTPC is set to a value that does not play your sound when you play that event. Then when the value will reach the treshold, your sound will play! It will only play again if your RTPC goes under the threshold and over again. You can avoid multiple triggers with Slew Rates, limitations (and a long tail if you need to cheat even more).

Hope it helps!

by Nikola Viel (1.6k points)
...