How to make a functionnal door to an other level with an interaction and an interaction message ?

Hello!

Just as the title says. I’m trying in vain to make that door, I watched every video on youtube in vain, it just doesn’t work. I’m only able to either make a door that you only go trough and it takes you to an other level or make a message where it says “Press E to enter” near the door, but when even if I press E on the other side of the map it takes me to the next level. I want to be able to only go to the next level when I press E at the door.

when only I arrive at the trigger box, the message appear, the E button becomes available (because I put the E button = next level, even tho I put it in the trigger box it opens the level no matter where I am if I press E, which I don’t want. I want to be able to have a message appear when I go near the door, then press E (that will work only near the door) then when I press E it just takes me to an other level, that’s it, no opening door animation or anything, thank you

(Also I tried to follow a tutorial to put some kind of animation for the E key being pressed, I’m trying to make the button go from White to Grey so it shows we pressed the key. I followed it but it didn’t work, here is how I did it : if someone can tell me what’s wrong with it also it would save me days of research, thank you very much)


Thank you very much

1 Like

When the player overlaps the box, set a bool ‘overlapping’.

When the player leaves the box, clear the bool.

Then only perform the E event when the overlapping bool is set.

Hello! Thank you very much for your answer! I just really don’t know how to do any of that I’ve been trying but everything is confusing and overwhelming as I’m a beginner. Would you be able to tell me precisely how to do this?

Thank you very much

It’s this :slight_smile:

You only let them press E when they’re in the box.

It is exactly the tutorial I followed and that didn’t work for me also he’s just opening a door, I’m trying to go to an other level when pressing E

Right. So instead of opening the door ( using a timeline or whatever ), just put an ‘open level’ node.

It’s exactly this, but with an open level node :slight_smile:

1 Like

Hi again, I don’t know what went wrong I think I followed the tutorial perfectly but nothing appears on the screen when I go near the door

It doesn’t work in my game nothing appears when I go to the door it’s supposed to show “Press E”, Idk what I’m missing

I can’t upload too many images too fast apparently since I’m a new user of the platform so I’ll show you more screenshots in a bit

Hi again! sorry for the huge amount of messages, thanks to your message I redid everything again and now it works with your advices, thank you very much!

I seem to run into a new issue, I added this into my door:


and this into my character blueprint

and it does ‘open’ something when I press E (it’s supposed to open the bakery level) but not the bakery, it just takes me to nowhere where I can’t do anything. Would you know why?

And when I press pause it’s completly bugged and I’m nowhere either.

Well done :slight_smile:

We’re getting there…

Try using ‘open level by name’, much easier. Just put the name of your level ( map ) in there.

( I’m assuming the bakery level runs ok on it’s own? )

1 Like

By putting it by name it worked!! Thank you so much! You have no Idea how grateful I am!!! omg (I did also forgot to put a player start in the bakery and I had one outside the bakery without any floor so it was bugged…hehe but even with the player start inside the bakery it didn’t work, it only worked by putting it by name)

1 Like

:grinning: :+1:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.