Community Q&A

Where Wwise users help each other out!

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

Setting Switch Groups via Post Event At Location (Blueprint)

+1 vote

Currently, the only way to set a switch group is by giving the actor as an argument (while also assuming that actor has an akcomponent on its root component). This method works but is far from ideal.

We've been attempting to do footstep sounds by passing the surface type to a switch group. This would work when we attached/created an akcomponent on the actor itself using PostEvent, but this isn't what we would want. Rather, we would like to just have the sounds created at a location and played. We tried using PostEventAtLocation, but this doesn't work alongside SetSwitch, as we can not reference an actor that does not exist.

Ideally, we would like to maybe have options on the PostEventAtLocation (and maybe all PostEvents) that would allow for the SwitchGroup and SwitchState to be supplied at the node.

Do you guys have any plans to reveal more arguments (related to switches) PostEventAtLocation function? Or do you have any advice on a better way to use Blueprint with switch containers and surface types?



[EDIT] Here are better ideas of what I mean.

- The Sound Group Property types in Wwise.

- The Physcal Material names in UE4 (match switch groups in Wwise).

- Debug print showing physical material the player is touching

- another Debug

- Blueprint I wrote (are there plans to reveal Switch Group and Switch State in Post Event at Location, or do I need to add it myself to the source?)

asked Nov 28, 2014 in General Discussion by Daemonion (170 points)
edited Nov 29, 2014 by Daemonion

1 Answer

0 votes

The links you pasted are invalid. Have you solved this problem? If so, could you give me some advices? Thanks in advance ;-)
answered May 7 by MR H. (310 points)