Version

menu_open
Wwise SDK 2018.1.11
Quick Start Sample Integration - Triggers

Trigger Example

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.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise