Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+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.

...