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.

New "Set Switch" UE4 object without "Target" reference

0 votes
Hi,

I've been following the Wwise tutorial on how to set up a material switch in UE4's Blueprint, but the "Set Switch" object I get has a "Actor" reference instead of the "Target" reference. If I understood correctly, the AK animation event is triggering from the mesh of the object while the "Actor" reference is searching the root of the Actor Component? Therefore when I trigger the switch in Wwise, it triggers on AKComponent_0 while the footsteps is being triggered on AKComponent_1, and so the surface switch remains in default mode.

I've tried different approaches, and also found one page where another person had the same object, but when I copied what he/she did, the result still remained the same. Is this a new object that came with a new version of Wwise? And if so, has anyone had any luck with getting the right reference?

Thanks!
asked Oct 15, 2018 in General Discussion by Eirik J. (290 points)

1 Answer

0 votes
Found the (two solutions), if anyone ever struggles with this.

First I made the workaround of using anim events instead of Ak events and then added a trigger in the anim blueprint that targeted the root component. Since the switch I used targeted the root, that worked well.

However, now I also found that even tought I couldn't find the "Set Switch" with the "Target" node when I browsed trough events in the blueprint menu, if I drag a node out of I.E an AK event and search "Set Switch", it will give me the other event which is used in tutorials.
answered Oct 23, 2018 by Eirik J. (290 points)
...