So I have a couple enemies in my level and on the top right you can see how many enemies you’ve killed and how many are left. I followed a tutorial and it showed how to make a blueprint that once there’s no enemies left you can make it do something. FirstPersonBP (The commented blueprint to be specific)
I then followed another tutorial on how to make a door open when you click a button and I thought I could just figure out a way. FirstPersonBP, DoorBP
But I can’t figure out how to make it so when all the enemies are killed, the door open. How would I go about doing that?
Hey there @GooseT03s! Welcome to the community! You’ve got the BPs almost done! Just need to take the true from the target counter check after each one is hit, and create a Boolean on the door named something like “DoorUnlocked” and set that to true, then in your door interaction check and see if “DoorUnlocked” is true or false before opening the door and changing the camera. Please let me know if you have any questions!
Here’s a tutorial that does most of the same from Matt Aspland in the meantime:
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
1 Like