Press button to play Matinee

Basically, you would walk into a box trigger, it’ll display text and by pressing a button, it’ll trigger a matinee I’ve set up. How would I do this?

I’m not sure why this isn’t working

I Created a simplified example

When you enters the trigger box, it SETs the “CanTurnsOn” varibale to TRUE and show the message: “Press “G” to Play Matinee”

If the player leaves the trigger box, it SETs the variable to FALSE

This way, it will only plays the Matinee if the player is inside the trigger box, if not, the G key will have no effect!
See the image BP:

Hope it helps you!

Thank you, it’s working. But I have two matinee I want to play by pressing one button, in the same level. When I press the button for one to play, the other plays too. I don’t want two to play, just one of them to play when I enter their own trigger box

at you blueprint, check if the input is being consumed, that must be the problem!

does it works properly? if yes, well done! don´t worry about your BP set up, it is a personal set up, no one can tells you how to programming, the goal is to works, hehe

I’m not as good with anything programming related, like blueprints, like I am with everything else. But I’ve set it up like this!

Yeah the button press works, but plays both matinee I have in the level one after another. I don’t know how to check if the input is being consumed.

After about ten minutes I figured it out, for two different matinee to play independently of each other.

ok, good! so this one is closed too, see you!