Table of Contents

Wwise SDK 2019.1.5

◆ SetState() [2/2]

AKRESULT __cdecl AK::SoundEngine::SetState ( const char *  in_pszStateGroup,
const char *  in_pszState 
)

Sets the state of a State Group.

Returns
  • AK_Success if successful
  • AK_IDNotFound if the state or State Group name was not resolved to an existing ID
    Make sure that the banks were generated with the "include string" option.
    Note: Strings are case-insensitive.
See also
Parameters
in_pszStateGroup Name of the State Group
in_pszState Name of the state