Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

+1 vote
My issue is the lack of documentation for UE4 C++ integration. I am trying to use switches in UE4 C++. Wwise is all setup, switches and all. I am able to get the default sound to play. But, I am not understanding switches in C++. This is for a custom notify event for footsteps as an example. The physical material is set.

Looking at https://alessandrofama.com/tutorials/wwise-ue4/switches/ the setswitch parameters are different then what the code is asking for:
SetSwitch(class UAkSwitchValue const* SwitchValue, class AActor* Actor, FName SwitchGroup, FName SwitchState)

Actor is understandable.

Is SwitchGroup the switch group name in Wwise? And SwitchState the state I want to play?

SwitchValue I can create a UPROPERTY to set but how does one set it according to the physical material? Is THIS the sound I want to play?

It is not clear how to call SetSwitch.

Please, some assistance would be greatly appreciated.
in General Discussion by Cody C. (110 points)

Please sign-in or register to answer this question.

...