Table of Contents

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

Posts the specified trigger.

Returns:
  • AK_Success if successful
  • AK_IDNotFound if the trigger name was not resolved to an existing ID
    Make sure that the banks were generated with the "include string" option.
    Note.gif
    Note: Strings are case-insensitive.
See also:
Parameters:
in_pszTrigger  Name of the trigger
in_gameObjectID  Associated game object ID