I’m new to EU4 and trying to create a simple game
I want to have a door being able open when the player picks up a key and presses a keyboard key like enter when facing the door so it opens
any suggestions?
I’m new to EU4 and trying to create a simple game
I want to have a door being able open when the player picks up a key and presses a keyboard key like enter when facing the door so it opens
any suggestions?
The main thing you should look up is box collision bounds used as triggers. You’ll want one on the key blueprint that destroys it and sets a bool variable (flag) on your player controller. Then use another trigger on the door to tell you when the player is next to it, and that combined with the player controller flag will tell you if the door should open when the player presses enter.