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.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요