Version

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

Set 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.gif
    Note: Strings are case-insensitive.
See also:
Parameters:
in_pszStateGroup  Name of the state group
in_pszState  Name of the state

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