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.

0 votes
Hello,

I have footsteps set up to change according to what terrain you are currently on by using a Switch Group on the switch container. What I'm trying to do next is have different footsteps sounds play when a character is injured. I was hoping to be able to connect the switch container to two switch groups but nested switches is weirdly not a thing. I don't want to make "injured" a state because states are global. Is there a way to have something like a nested switch that will be able to control both terrain and injury status? Would that have to be done through RTPC only?

Thanks in advance!
in General Discussion by Jocelyn R. (260 points)

1 Answer

0 votes
Hi Jocelyn,

Nested switches are possible- I do it for terrain type and movement speed (sneak/walk/run). You could also do it with an RTPC. furthermore, you can link the RTPC to a switch, so from the game engine it would be like using a switch.

Cheers
by Richard Goulet (5.8k points)
oh i see. so just to clarify, nested switches are possible by linking an RTPC with a parameter 'injured' to the "terrain" switch? (like the example on pg 396 on the manual) Theres not a way to create two switches, one 'injured' and the other 'terrain' w/o having to hook it up to an RTPC?

thank you for your time :)
I think you might be misunderstanding... Nested switches are completely possible as is, to whichever depth you want. I have created nested switch structures up to 4 layers deep. Are you encountering some type of problem when attempting to nest one switch container into another? I forgot to mention, you can not put a virtual folder inside of a switch container, if that's what you're trying :)
...