You can launch a trigger with the AK::SoundEngine::PostTrigger() function:
AK::SoundEngine::PostTrigger( AK::TRIGGERS::PUZZLE_SOLVED, GAME_OBJECT_ID_HUMAN );
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:
AK::SoundEngine::PostTrigger( L"Puzzle_Solved", GAME_OBJECT_ID_HUMAN );
Refer to Integration Details - Triggers for more details.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise