Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
|
◆ SetSwitch() [2/2]
Sets the state of a Switch Group. - Returns
AK_Success if successful
AK_InvalidID if the switch or Switch 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_pszSwitchGroup | Name of the Switch Group |
in_pszSwitchState | Name of the Switch |
in_gameObjectID | Associated game object ID |
|
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