Unreal Engine : Open Door Event

In my game I wanted to have a function where you can open a door. I will no go through the blue prints I did to do this.

To begin with I opened level Blue prints. Screen Shot 2017-02-03 at 13.11.49.png

Screen Shot 2017-02-03 at 13.13.38.png

Once you are in this section you want to add in “OnBeginCurseOver” and “OnEndCurseOver”, these will be what link the door to open. Screen Shot 2017-02-03 at 13.14.03.png

You now want to add “Get player Controller” what this does it begin the access of the door.Screen Shot 2017-02-03 at 13.17.41.png

Once you have done that you want to link the “OneBeginCurseOver” and “Get player” to “Set”. Screen Shot 2017-02-03 at 13.19.06.png

You now want to connect the “OnEndCurseOver” to the second “Set”. On the second set you want to change the Current Mouse Cursor to crosshairs and what this will do is when you hover over the door it change to a cursor that indicates you able to open it. Screen Shot 2017-02-03 at 13.54.33.png

To finish this proves you one to add “OnClicked” then link that to “DestroyActor” then finally add “door” and what this will do is once you click the door it will destroy.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s