I need help connecting the code (or functionality) from one blueprint into another blueprint."

h im new to this, I have this blueprint code for my door. It works and everything but it doesn’t have any sound how can I make it have a sound when you open the door and a and a separate sound when you close the door

I followed this YouTube tutorials

Add your PlaySound nodes before the timeline.

(post deleted by author)

yes I tried it but that, but I want a sound for when the door opens and a different sound when it closes

Hey @Sampa_Moon! Welcome to the forums!

Do you see on the timeline where it says “Direction”? You can drag off of that and use a “Switch on Enum” node to determine the flow, and have an option for forward and an option for reverse! :slight_smile: Then you have full control over what’s happening based on the direction. Hope that helps! :slight_smile:

1 Like