Using Events multiple times

I have a problem here. Im using the Even ‘OnLanded’ To set a landing sound. If the player got a high fall, it will play ‘A’ soud, if it was soft it will play ‘B’ Sound… Now If the player is having a extreme fall (Like skydiving) a sound cue will start to simulate air, like a real skydive. Now when the player hits the ground (OnLanded Event) I want that sound to stop. But I can’t use this event twice in the EventGraph.

Also, I don’t know how to stop a sound cue using blueprints. I can’t find a function to do this.

Thanks for your help.

Why dont you use a branch node after the OnLanded Event which determines which sound is played on landing?

You can set a bool after a certain amount of time spent in the air, then if that bool is true on landing player the ‘A sound’, if it is false ‘B sound’.

Can you send a screen shot of your blueprint? What is stopping you from continuing the flow past the sound events?

Ok well you can either do the spawn decal at location node straight after your play sound at location.

Or use a custom event like this -

Am I missing something with your question? It seems simple to add the decal node straight after in the flow graph but I am not sure why you are having troubles with that.

If this is not how you want to do it try using a sequence node,

Yeah it will, it will trigger when the flow travels through the node called “spawn landing decal”. After you make the event, you can just drag off after your get landing sound node and type in the event name, it will then trigger.

Glad I could help. Let me know if you need anything else.

That’s not what I want to achieve. The landing sound works fine, what I want to do is use the ‘OnLanded’ Event for another action, multiple actions, specially for spawning a decal in the player position. But I can use that event only once, and Im using it for setting the landing sound.

There. Im using that event for a specific action, I want it to use it for another action, like spawning a decal when it lands. But If I connect the Event Exec to another function, the previous action will not work.

OOOUH! So that’s how you can use sequences. Yes yes, that makes sense. Thanks so much man! Oh one more question, if I create the custom event ‘SpawnLandingDecal’ will this event trigger when I land? That was great man, thanks.

Yup, that was great. Thanks again mate.