Version

menu_open
Wwise SDK 2023.1.8
Quick Start Sample Integration - Triggers

Trigger Example

You can launch a trigger with the AK::SoundEngine::PostTrigger() function:

The AK::SoundEngine::PostTrigger() method also accepts strings (Unicode or Ansi) instead of IDs. In this case you would specify the name of the trigger, as defined by the Wwise user:

Refer to Integration Details - Triggers for more details.

AKSOUNDENGINE_API AKRESULT PostTrigger(AkTriggerID in_triggerID, AkGameObjectID in_gameObjectID)

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise