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 to trigger event on key down?

0 votes
Hi,

I'm designing an audio-only game where the player needs to follow the voice of a girl (attached to a game object in unity) which is following a path.

However, I want it to be that the event connected to the play of the random container which contains a series of phrases like "over hear!" to be triggered when the player presses the "E" key on the keyboard.

Any help would be appreciated!

Alasdair
asked Feb 20, 2020 in General Discussion by Alasdair M. (140 points)

1 Answer

0 votes
 
Best answer

Hey Alasdair, 

Did you watch this video? 

One Minute Wwise | Play a sound from a key in Unity
https://www.youtube.com/watch?v=fcNWLDCzebw&feature=youtu.be
Seems quite similar to your case. 

Hope this helps!

answered Feb 20, 2020 by Mads Maretty S. (Audiokinetic) (38,720 points)
selected Dec 15, 2022 by Mads Maretty S. (Audiokinetic)
...