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.

Having trouble with SetSwitch UE4

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

asked Dec 10, 2014 in General Discussion by Jared M. (220 points)

1 Answer

0 votes
answered Dec 10, 2014 by Benoit S. (Audiokinetic) (16,020 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!
...