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.

0 votes

HI again,

 

I am trying to use SetSwitch in a Blueprint in UE4 but when executing the PostEvent node I always get an error in my output window that syas "LogAkAudio:Error: No Valid Switch: 1504825759".  The Event I'm trying to play have a group on it called "Faction" and the Switch property I am trying to set is "CM".  In mY SetSwitch node in Blueprint I am settin Switch Group to "Faction" and Swithc State to "CM".  Is that the correct way to set it?  The Actor for both nodes is the result of a "Get Player Pawn" node.  Do I need to have the Actor set up a specific way or set soemthing specific in Wwise Authoring tool?  I've attached some images to show my set up.

Switch Group Setup:

Switch Group set up

Event

Level Blueprint

in General Discussion by Jared M. (220 points)

1 Answer

0 votes
by Benoit S. (Audiokinetic) (16.0k points)
Thanks for pointing out that thread.  I ended up getting it working.  I didn't have to make any changes in the Wwise tool from that thread, but it did help me find the problem.  Turns out the event I was trying to post had 2 Switch groups assigned to it but one of them didn't have a default specified.  The Faction on that I was setting was actually working but because the second swtich group had no default and i wasn't setting it it wasn't working.  Once I figured this out I was able to get it working.

Thanks again for all your help today.

Jared
Glad you could figure it out!
...