Version

    Other Documentation

menu_open
Wwise SDK 2022.1.11

◆ PostTrigger() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::PostTrigger ( const char *  in_pszTrigger,
AkGameObjectID  in_gameObjectID 
)

Posts the specified trigger.

Returns
  • AK_Success if successful
  • AK_InvalidID if the trigger name was null Make sure that the banks were generated with the "include string" option.
    Note: Strings are case-insensitive.
See also
Parameters
in_pszTriggerName of the trigger
in_gameObjectIDAssociated game object ID

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