How to set up an Integer for a Sound Cue Switch Node?

Sorry I’m lost, these tips are too abstract for me to follow.

Success!

So I still haven’t found a way to control that darn switch node, however I was able to create a custom notify event to use with my animation. I’ll include a snapshot of my notify for anyone trying to do the same. The sound cue here is determined by an Integer value from the MyCharacter blueprint.

I’ve grappled with this for ten minutes myself so I just wanted to add:
If you use the soundcue’s Switch node be sure that the blueprint that’s playing the sound sets the Switch node’s Int param to something - its default value is not 0 as you would normally expect from an Int variable.

Example:

I have a soundcue that consists of a starting track and a looping body.

When my game starts I first assign the soundcue to the audiocomponent that will play it, and then I set the Int param to zero. If you do not set the Int param to zero (or any output pin you want) the sound will not play. I then use a delay node to determine when to switch to the looping part of the soundcue.

Hope this helps others in the future.

I do it like that: If someone needs it :slight_smile:

There is a simple solution for setting default values on a switch node: use the “Parameter Unset” input.

how do you use that input pin?