Kill All The Enemies To Win or Open A Door - Unreal Engine 4 Tutorial

  Рет қаралды 18,244

Matt Aspland

Matt Aspland

Күн бұрын

Пікірлер: 51
@pollocaliento65
@pollocaliento65 Жыл бұрын
After 3 hours of: denial, anger, bargaining, depression and acceptance this video saved me. Just thanks.
@chickishot8172
@chickishot8172 2 жыл бұрын
So my door just automatically opened as soon as I hit play, but when I changed the game mode from being going off the event tick to a custom event that gets called from the BP which does the -1 for the amount it immediately worked the way it was supposed to. Thank you for the tutorial!
@noisyether9211
@noisyether9211 3 жыл бұрын
I just was needing this lol. Thanks im more of a director then designer your videos are a super help!!
@MattAspland
@MattAspland 3 жыл бұрын
That's great! Glad I could help you out man, nice work!
@luizferreira4641
@luizferreira4641 3 жыл бұрын
Hey Matt, great tutorial. What if the level has two rooms and in each room has the same mechanics? How can I make a second door open after you kill a second wave of enemies? I tried to duplicate the door and it didn't work for the second room. Any ideas? Thank you so much for this.
@MrMeat570
@MrMeat570 Жыл бұрын
Is there a way to add a counter to show how many enemies you have killed?
@christianparis3463
@christianparis3463 2 жыл бұрын
I know this is an older video, but I am having some trouble with this. I checked all the coding multiple times and I do not see any issues anywhere. I have pretty much all of the coding you do, except in the game mode, I have a sequence node with 5 different execs. I have four doors, and then the last one is a win widget for when there are no relics left. For some reason, the only one that goes off is the one that has the object count == the default count for the object in the branch condition. For some reason, it seems that the object is not updating by adding or subtracting the objects at the right times. Any tips?
@Hazzbazz
@Hazzbazz 4 жыл бұрын
really good mate question tho. how would u do this with multiple sections on the same level with the same ai enemies. basically, get rid of the enemies in one room to open the second do it again and repeat
@SafaAlkan
@SafaAlkan 4 жыл бұрын
Thanks a lot again! Your videos help my university project really!
@MattAspland
@MattAspland 4 жыл бұрын
No problem man, I'm always happy to help! All the best of luck with your university project :)
@galberger3937
@galberger3937 Жыл бұрын
Hi. Can you show how to use this tturial when a sword kill the enemy and not by touching the enemy?
@brianworden7022
@brianworden7022 11 ай бұрын
Is there a way to make the door close on entrance of an area a then open once a boss is dead.
@timkerchman2191
@timkerchman2191 2 жыл бұрын
Could I use this same mechanic to let's say complete a goal to have a button or key made visible to open the door. I followed your tutorial with the button and door. I was just wondering how to basically earn/win the button after a goal than go to open the door.
@geekpotion
@geekpotion 3 жыл бұрын
want that event tick be very heavy on performance , especially if you have multiple doors
@abdullahsohail5395
@abdullahsohail5395 4 жыл бұрын
Nice video it will help me alot
@MattAspland
@MattAspland 4 жыл бұрын
No problem, happy to help! :)
@charbelbouchmouny6295
@charbelbouchmouny6295 2 жыл бұрын
Really handy man!! Worked great, when I try to kill the AI with a particle effect (another actor blueprint Ofc) but it doesn’t seem to work even tho the AI still gets destroyed
@djsalis
@djsalis Жыл бұрын
Great video thanks :)
@TJung121
@TJung121 3 жыл бұрын
If I just wanted to win the game and make it load victory screen instead of the door, can you explain how to do that? Or is there a video that show this? Thanks so much!
@LennoxFyre
@LennoxFyre 2 жыл бұрын
Hello Matt. This video helps a lot. However, I want to apply these mechanics to solely a level instead of the entire project which is the gamemode. Which Cast To and Get nodes do I need to apply them to a specific level?
@nightfury9201
@nightfury9201 3 жыл бұрын
Is it active only in this area? Or how can it be implemented only in this area?
@octavia7466
@octavia7466 3 жыл бұрын
Hi! I just wanted to ask, if I wanted to make a second room with the same door system do I need to create a new AI blueprint/door blueprint for room 2 so it can act independently?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, there are a few different ways to do this that I've figured out with people, however the one you suggested would be the easiest and best to do. You could create a new blueprint to store the information in for the amount of AIs left. Just make sure that the new AIs for the room go into the correct blueprint. Hope this makes sense :)
@octavia7466
@octavia7466 3 жыл бұрын
@@MattAspland yep! Thanks for the reply :)
@MattAspland
@MattAspland 3 жыл бұрын
@@octavia7466 Great, no worries :)
@stefanleroux8750
@stefanleroux8750 4 жыл бұрын
Thans for this. Definately going to use this. Is there a chance for a tutorial on crosshair in middle of screen and to open multiple drawers with that in 3rd person vew? Alk I know is that you must make a line trace from crosshair to drawer. To open one drawer is easy. The problem is when there are more than 1 drawer. 😳😬. Have a great day.
@MattAspland
@MattAspland 4 жыл бұрын
No problem, that's great to hear! And yeah of course, I think I can add that to my list to do, great idea thank you! :) Hope you have a great day too :)
@JimboVoiceovers
@JimboVoiceovers 3 ай бұрын
What if the door opens and the ai is still there. is there a way to kill all of the enemies all at once?
@bobgratton2986
@bobgratton2986 2 жыл бұрын
it tells me that the integer variable cannot be connected, the blueprint doesnt allow me to link it to third person character game mode
@karinevinette195
@karinevinette195 Жыл бұрын
I have the same pb do you have an answer ?
@gastonbob3308
@gastonbob3308 Жыл бұрын
@@karinevinette195 i do cause I went trough, but I cant remember what ive done, I actualy used this tutorial for a door conditions where finding x number of somethimg to unlock it.
@gastonbob3308
@gastonbob3308 Жыл бұрын
@@karinevinette195 pls tell me the exact moment on the video
@gastonbob3308
@gastonbob3308 Жыл бұрын
I can provide you an answer just tell me the moment you are havin a problem
@nonstopvlogging
@nonstopvlogging 2 жыл бұрын
Hey thanks so much for the video man. Really needed this "perform an action on last enemy being killed". Want to use it for a killcam. To make it more efficient, you could get rid of the event tick, and only have the door check whether it needs to open when an enemy is killed. : )
@MagnumRoland
@MagnumRoland 2 жыл бұрын
How??? instructions unclear, I'm using unreal 7 now xD
@hariomarts7750
@hariomarts7750 3 жыл бұрын
Bro can u tell me what I need to do if I want to add only 2 persons to kill and not all to open door
@MattAspland
@MattAspland 3 жыл бұрын
Hi, in our == for the branch where we are checking how many we have left alive. For the bottom value, instead of 0, you'd put your maximum amount minus 2. Hope this helps :)
@hariomarts7750
@hariomarts7750 3 жыл бұрын
@@MattAspland thankyou very much you earned a sub again thanks
@MattAspland
@MattAspland 3 жыл бұрын
@@hariomarts7750 No problem man, happy to help! And thank you, I really appreciate that :)
@hariomarts7750
@hariomarts7750 3 жыл бұрын
@@MattAspland bro I tried but it didn't work when I put -2 nothing happen iwant only kill two players (no matter how many are there) help bro
@MattAspland
@MattAspland 3 жыл бұрын
@@hariomarts7750 No sorry, you wouldn't put -2, you would get the maximum amount and then -2 from that, and put that into the ==. Hope that helps :)
@CryptMhg
@CryptMhg 4 жыл бұрын
great video as always m8 :D...can u explain how to download SDK on windows 7 correctly like none of the youtube tuts are useful ... maybe u using windows 8 or 10 idk but i just wanted to ask ..maybe u know something about it :D
@MattAspland
@MattAspland 4 жыл бұрын
Thank you! :) And I'm using windows 10 myself, but I assume you might just need to find a compatible version of the SDK, so it will work on Windows 7 and the version of Unreal you are using. If not, maybe updating to windows 10 might be worth it?
@BigBro_1
@BigBro_1 7 ай бұрын
pls make this for unreal engine 5
@belalkurd9135
@belalkurd9135 15 күн бұрын
Thank you
@mohammadjavadehsani346
@mohammadjavadehsani346 4 жыл бұрын
Why You Like Doors So much?
@MattAspland
@MattAspland 4 жыл бұрын
They are a great way for beginners to learn, and I get a lot of requests involving them, this was once again a request. :)
@tomhikon
@tomhikon Жыл бұрын
When one door opens another one closes 😅
@ty_teynium
@ty_teynium 4 жыл бұрын
Didn't work for me. In my game mode where you get a copy I cannot connect the output pin into the input of the custom event call in the door. Edit: Nevermind. I keep forgetting you gotta draw out get a copy a second time and it will go through! Everything else worked fine; many thanks!
@MattAspland
@MattAspland 4 жыл бұрын
Oh great, that is what I was going to recommend too so glad that did fix it. Glad everything else worked for you, no problem. All the best! :)
Random Loot Drops When Enemy Dies - Unreal Engine Tutorial
10:25
Matt Aspland
Рет қаралды 22 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
AI Sight Detection And Chase With Music - Unreal Engine 4 Tutorial
10:51
Destructible Mesh (Any Mesh) - Unreal Engine 4 Tutorial
7:58
Matt Aspland
Рет қаралды 105 М.
UE4 Tutorial: Character turn in-place
20:45
AntiAnti
Рет қаралды 2,8 М.
Unreal Engine - Speech Recognition  - Free Plugin
13:18
Qworco - Unreal Engine
Рет қаралды 2,6 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН