Turn on flame

I have a box trigger under a sconce flame light on a wall. I want to be able to ‘light’ the flame by pressing a key when, and only when the player is inside the box trigger. How do I go about doing this where both conditions are satisfied?

Right now, I have had to do a ‘disable input’ until the player is inside the box trigger, but this means no other keys can be used, which is silly. I’m new to UE4 so learning as I go.

Many thanks in advance.
SCDS

Check out the BP I use here for my game for similar purposes.

You want to have a bool that checks if the button is active to trigger the flame to activate in your case.

The button is only active when overlapping the trigger box and does this check when pressing the button

I have a do once so the player can only do this one time.

(remove consume input from the E key so it does not consume that input for other interactable things - this could also work for your previous issue I helped with)

Yep :3 no problem

Oh! I was so close! I didn’t have the button active condition and couldn’t figure out what to put in the condition. I knew what I wanted but didn’t know the command. The syntax is all new for me.

Thanks!

Ha! It’s so simple now! I feel a bit stupid :stuck_out_tongue:

Thanks - I was wondering about that! Then I saw your additional comment!

This was perfect. Very simple - thank you and yes, this one is correctly marked resolved.