Get my 4K high-quality courses on gameinstruct.com/ Also available on Udemy 30-85% off this month: How to Make a FPS Game - Unreal Engine 5 Multiplayer (2024) www.udemy.com/course/ue5-multiplayer-fps/?couponCode=SUMSAL How to Make a 2D Clicker Game - Unreal Engine 5 (2024) www.udemy.com/course/make-a-2d-idle-clicker-game-unreal-engine-5-blueprint/?couponCode=SUMSAL Unreal Engine 5: Develop Your First Two Games www.udemy.com/course/ue5-twogames/?couponCode=SUMSAL Unreal Engine 5 for Beginners - The Complete Course (2024) www.udemy.com/course/ue5-beginner/?couponCode=SUMSAL Unreal Engine 5: Blueprints for Beginners www.udemy.com/course/unreal-engine-5-blueprints/?couponCode=SUMSAL How to Add Steam Multiplayer: Unreal Engine 5 Blueprint (2024) www.udemy.com/course/how-to-add-steam-multiplayer-unreal-engine-5-blueprint/?couponCode=SUMSAL How to Publish a Game on Steam - Unreal Engine 5 (2024) www.udemy.com/course/ue5-steam/?couponCode=SUMSAL Simple Inventory System - Unreal Engine 5 Multiplayer (2024) www.udemy.com/course/ue5-multiplayer-inventory/?couponCode=SUMSAL Unreal Engine 5: Complete Lighting Guide for Beginners www.udemy.com/course/ue5-lighting/?couponCode=SUMSAL Be sure to subscribe to our UA-cam Channel for actionable Unreal Engine 5 beginner tutorials: ua-cam.com/users/PixelHelmet
Fantastic tutorial, I like how you took the time to explain exactly what each node was doing and how/why everything connected. I learnt a lot from this! Thank you!
You are amazing. So thorough in your explanations of each action, makes it easy to not only see what you're doing, but to actually learn why and remember the process easier. Another one of those videos where I have wished I could click that like button more than 10 times throughout the watch. tysm!!
This was so pleasefull to watch, no stuttering voice, and a very very clear to follow instructions, thank you. if you have such clarity even in the purchasable course, I can't help but be tempted to buy it.
Thanks for the great tutorial, I just have one question: how can I implement the logic to increase the life? (In my case I am creating an Actor Blueprint of a heart).
I hate trying to learn game development. I know it's hard, I know there's adversity to overcome. But every time I think I'm making progress something genuinely insurmountable appears, and when I say insurmountable, I mean completely and utterly incontrovertibly FUCKED. I must have forgot to install the perfect magical version of UE5 where shit actually gets done, because I find myself struggling against jittery tilesets, essential features disappearing, the engine somehow warping reality to work completely differently from other people's experience, and the complete lack of care Paper2D has received from Epic Games. I have genuinely wasted hours upon hours of my life sitting at a computer, looking up fixes for issues I couldn't solve with logic or reasoning, but don't worry. I don't expect anyone to care, it's obviously just a 'me problem'. My life is fucking meaningless.
idk if UE has updated since this video, but I'm currently trying to do this, and I'm at the point where you're saying to add "event begin play" at 24:11, and I've got an "add input mapping" that you don't have in the 3rd person blueprint, and it is using "event begin play" and it's not letting me add another one, any advice?
Hi Alter, yes it has been updated since. You just add the code after the Add Input Mapping. Just continue the code, that's all fine. You can only have one Begin Play event in a blueprint.
Greetings, I want to say a great tutorial. Very helpful and informative. I have followed it as much as i could and implemented it in my own blueprint. It works but every time i stop running the game i get the error: Blueprint Runtime Error: "Accessed None trying to read property UI_Player". Node: Set Health Bar Info Graph: EventGraph Function: Execute Ubergraph BP Player Controller Blueprint: BP_PlayerController . Has anyone else come a cross a similar issue?
quick question i have everything working fine for the hp/damage system up until the last bit of the video that kills the player i have followed this guide and the code matches up but nothing happens when hp reaches 0? i am using the default third person character which has default code attached to it that enables movement one of those lines of code uses the "Event begin play" for controller mapping. so i couldn't make a new "Event Begin play" to match your line of code exactly any help/tips please?
I was trying to do this in unreal engine 4, and it worked out good, until I had to use the quickly add to the project button, which apparently doesn't exist in UE4
Just a quick question! Do I have to create the BP Character Controller or can I just do all of this in the already made BP Third Person Character? Thanks!
Accessed none means that you defined the variable in a wrong way. It can’t find any information inside of that variable. Try to take a look at where you created that widget and how you defined the variable. The mistake should be there.
Ok so ive just completed this tutorial and it mostly works except for some reason either the value of the Current Health or Max Health aren't being set. I've made both of their default values be 100 but whenever I start the game it just defaults to 0. Ive even tried manually setting the values to start at 100 and it doesnt work. Any help?
thanks for a great tutorial! got a sub! would this the same logic that we done here work if i wanted to add a bullet widget? i would just put some logic in the bp character bp? thanks
so im trying to make a shield and health bar work together, think you can push me in the right direction? also ty for tut i learned alot just what im trying to do is more complex to me
Hi Kaze. For armor, you can use the same method as the health with another float variable called Armor, Max Armor and so on. And if you get hit, you can calculate the lost armor depending on how much damage you receive from the AnyDamage event for example.
Hey this is an awesome tutorial, but I’ve been trying to find someone to help me out with this 1 thing. I can’t find it anywhere so maybe you can point me in the right direction. How do I add an armor bar over the health bar so that it (armor bar) takes damage first before the health bar? I would greatly appreciate your help…
If you're doing the First Person template, you want to add "Create WB Main UI Widget" after the "Add Mapping Context" on the existing Player Controller for the template. The First Person Controller needs that blueprint to enable mouselook etc.
Hi sorry to be a bother I think I did everything correctly I connected it all and Have double checked it like 3 times, but the health number isn't updating on the UI and I don't know what I did wrong any ideas? sorry again.
@@garyyates2592 Yes, I put the values on the wrong order and It kept subtracting everything all of a sudden. Make sure you put the number you are subtracting second
@@PixelHelmet The fact is that the standard thirdperson blueprint already uses the beginplay node, and in one blueprint it cannot be used twice, so I had to use the sequence node in order for the startplay to work in the logic from your video, so everything works, sorry about my words :D
Fixed the read error by placing in an is valid prompt, however now only thing left is getting the text to update properly after respawn . Currently it's staying at 0 after death. (BTW, I loved this video this is amazing help I'm just new lol)
trying to do this but apparently it doesnt work when making a server multiplayer game. Any fixes? i get errors unless i use custom event but than health bar doesnt show
Hi, If you're referring to the custom UI images, it's something I made custom in Photoshop. I've uploaded them for you in the video description (Link to google drive).
Hi ,thanks for wonderfull Tuto, I just have one question/problem, apparently in not able to get the "set Percent" (native function ?) that you use in the event Graph of your WP_Main... I'm not able to understand why.... Any idea ?
You might be referencing an object which has a different workflow to get the same result. You need to make sure Progress Bar is selected and that it Is variable
Great Tutorial, but around 20min Mark, it just gets bit confusing and your going to fast, i have had to watch three times to figure which window your in and jumping between the screens is utterly confusing
I agree, he has weird pacing which is hard to follow. It should be the effective window and explaining WHERE you can check it. If WB main is not compatible, look at variables and change the type to the correct Float value
1. Make sure the Max Health Variable is set to 100 and make sure the damage volume is set as 10-90 or something but also it seems you might have plugged Max Health and confused it with Current Health
Get my 4K high-quality courses on gameinstruct.com/
Also available on Udemy 30-85% off this month:
How to Make a FPS Game - Unreal Engine 5 Multiplayer (2024)
www.udemy.com/course/ue5-multiplayer-fps/?couponCode=SUMSAL
How to Make a 2D Clicker Game - Unreal Engine 5 (2024)
www.udemy.com/course/make-a-2d-idle-clicker-game-unreal-engine-5-blueprint/?couponCode=SUMSAL
Unreal Engine 5: Develop Your First Two Games
www.udemy.com/course/ue5-twogames/?couponCode=SUMSAL
Unreal Engine 5 for Beginners - The Complete Course (2024)
www.udemy.com/course/ue5-beginner/?couponCode=SUMSAL
Unreal Engine 5: Blueprints for Beginners
www.udemy.com/course/unreal-engine-5-blueprints/?couponCode=SUMSAL
How to Add Steam Multiplayer: Unreal Engine 5 Blueprint (2024)
www.udemy.com/course/how-to-add-steam-multiplayer-unreal-engine-5-blueprint/?couponCode=SUMSAL
How to Publish a Game on Steam - Unreal Engine 5 (2024)
www.udemy.com/course/ue5-steam/?couponCode=SUMSAL
Simple Inventory System - Unreal Engine 5 Multiplayer (2024)
www.udemy.com/course/ue5-multiplayer-inventory/?couponCode=SUMSAL
Unreal Engine 5: Complete Lighting Guide for Beginners
www.udemy.com/course/ue5-lighting/?couponCode=SUMSAL
Be sure to subscribe to our UA-cam Channel for actionable Unreal Engine 5 beginner tutorials:
ua-cam.com/users/PixelHelmet
Fantastic tutorial ! Clear, easy to follow, straight to the point and I actually learned a lot about the blueprints connections !
Fantastic tutorial, I like how you took the time to explain exactly what each node was doing and how/why everything connected. I learnt a lot from this! Thank you!
Thank you so much, it helped me a lot... The only thing missing is a way of gain health back.
Holly! I'm new on Unreal world and this tutorial unlock a new level! I love it!
You are amazing. So thorough in your explanations of each action, makes it easy to not only see what you're doing, but to actually learn why and remember the process easier. Another one of those videos where I have wished I could click that like button more than 10 times throughout the watch.
tysm!!
Great tutorial! Very well paced. Looking forward to more.
I appreciate you, Sileff. Thank you for the encouragement!
Hey man great tutorial, explained it to perfection
Thank you very much for the nice words.
Such an inspirational video this is.
Thanks Nafei! its great and so helpful. The way you explain your courses are simple and easy to follow. Great work!! :)
Thank you for the kind words Michelle. And thanks back to you for all the support!
Thanks buddy. Big help!
best health/dmg tutorial video
This was so pleasefull to watch, no stuttering voice, and a very very clear to follow instructions, thank you.
if you have such clarity even in the purchasable course, I can't help but be tempted to buy it.
Wow that tutorial was very clear and concise thank you!
Thank you for such a great tutorial! So much useful information explained in such a clear way : )
I loved this tutorial, it has served me well.
Awesome video, It helped me in my project
Great explanation 👏
Amazing explanation, thank you! :D
Thanks for the tutorial, works great
Very helpful thank you 👍
Thank you brother
merci pour cette incroyable vidéo
J'ai laché mon like
Thanks for the great tutorial, I just have one question: how can I implement the logic to increase the life? (In my case I am creating an Actor Blueprint of a heart).
I hate trying to learn game development. I know it's hard, I know there's adversity to overcome. But every time I think I'm making progress something genuinely insurmountable appears, and when I say insurmountable, I mean completely and utterly incontrovertibly FUCKED. I must have forgot to install the perfect magical version of UE5 where shit actually gets done, because I find myself struggling against jittery tilesets, essential features disappearing, the engine somehow warping reality to work completely differently from other people's experience, and the complete lack of care Paper2D has received from Epic Games. I have genuinely wasted hours upon hours of my life sitting at a computer, looking up fixes for issues I couldn't solve with logic or reasoning, but don't worry. I don't expect anyone to care, it's obviously just a 'me problem'. My life is fucking meaningless.
idk if UE has updated since this video, but I'm currently trying to do this, and I'm at the point where you're saying to add "event begin play" at 24:11, and I've got an "add input mapping" that you don't have in the 3rd person blueprint, and it is using "event begin play" and it's not letting me add another one, any advice?
Hi Alter, yes it has been updated since. You just add the code after the Add Input Mapping. Just continue the code, that's all fine. You can only have one Begin Play event in a blueprint.
thanks it was helpful
Greetings, I want to say a great tutorial. Very helpful and informative.
I have followed it as much as i could and implemented it in my own blueprint. It works but every time i stop running the game i get the error: Blueprint Runtime Error: "Accessed None trying to read property UI_Player". Node: Set Health Bar Info Graph: EventGraph Function: Execute Ubergraph BP Player Controller Blueprint: BP_PlayerController .
Has anyone else come a cross a similar issue?
quick question i have everything working fine for the hp/damage system up until the last bit of the video that kills the player i have followed this guide and the code matches up but nothing happens when hp reaches 0? i am using the default third person character which has default code attached to it that enables movement one of those lines of code uses the "Event begin play" for controller mapping. so i couldn't make a new "Event Begin play" to match your line of code exactly any help/tips please?
hey got evrything to work but the death won't work. Did it on first person mode.
I was trying to do this in unreal engine 4, and it worked out good, until I had to use the quickly add to the project button, which apparently doesn't exist in UE4
Great tutorial! Do you have any example on how to quit game when the damage reaches zero? And also how to replenish health when entering a box?
Hi Kimboor, I’ll make a tutorial very soon on healing as well.
I cant create a "event begin play" because it already exists how can i do it please help
You can use something called "Sequence" and plug it on each.
so now when i have the health plus in my level, how do i make it raise my health when i pick it up?
Just a quick question!
Do I have to create the BP Character Controller or can I just do all of this in the already made BP Third Person Character? Thanks!
Hi Nislaav, you can do it in the already-existing BP Third Person Character.
This was very helpful but could you please make a tutorial on how to add an animation of how the player dies and then teleports him
Thanks a lot for this tutorial, i cannot download the game assets ( 4 color squares) , do you have an alternative link for downloading? ty
Every I exit the level editor it gives me an error saying "Accessed none trying to read property WB_Main" any idea on where I went wrong?
Accessed none means that you defined the variable in a wrong way. It can’t find any information inside of that variable. Try to take a look at where you created that widget and how you defined the variable. The mistake should be there.
how do i make it that when the player dies, the screen goes "game over"?
Ok so ive just completed this tutorial and it mostly works except for some reason either the value of the Current Health or Max Health aren't being set. I've made both of their default values be 100 but whenever I start the game it just defaults to 0. Ive even tried manually setting the values to start at 100 and it doesnt work. Any help?
Ok not sure what the issue was but i started with a fresh project and did this tutorial and it works.
how can add animation death when health bar get zero 🥺🧐
Can use progress bars too no?
thanks for a great tutorial! got a sub! would this the same logic that we done here work if i wanted to add a bullet widget? i would just put some logic in the bp character bp? thanks
Thank you very much! Yes you can do that. Just add that code inside of the BP_Player blueprint we made and it should work.
so im trying to make a shield and health bar work together, think you can push me in the right direction? also ty for tut i learned alot just what im trying to do is more complex to me
Hi Kaze. For armor, you can use the same method as the health with another float variable called Armor, Max Armor and so on. And if you get hit, you can calculate the lost armor depending on how much damage you receive from the AnyDamage event for example.
Hey this is an awesome tutorial, but I’ve been trying to find someone to help me out with this 1 thing. I can’t find it anywhere so maybe you can point me in the right direction. How do I add an armor bar over the health bar so that it (armor bar) takes damage first before the health bar? I would greatly appreciate your help…
I’ll make a tutorial about this asap.
@@PixelHelmet yesss! Can’t wait!!
I cant get the character to move after I made all the nodes idk what I did wrong
If you're doing the First Person template, you want to add "Create WB Main UI Widget" after the "Add Mapping Context" on the existing Player Controller for the template. The First Person Controller needs that blueprint to enable mouselook etc.
Hi sorry to be a bother I think I did everything correctly I connected it all and Have double checked it like 3 times, but the health number isn't updating on the UI and I don't know what I did wrong any ideas? sorry again.
I cant get it to lose health at a steady rate, it goes from 100 to 0 directly and when I get close again it gives me 1 health. HELP
Same. Did you ever figure the problem out?
@@garyyates2592 Yes, I put the values on the wrong order and It kept subtracting everything all of a sudden. Make sure you put the number you are subtracting second
@@olbap2014 I figured it out. Thanks!
@@garyyates2592 hey whats the solution have the same problem
ok now i get it you have to change the "EventAnyDamage" in the second slot of the subtraction .. so its current health - damage
Does not work on 5.1.1 because there the control goes through the begin play and it can be called only once in one blueprint
Hi, it works in 5.1.1. Can you please explain the issue and I might be able to help. Thank you.
Nevermind, just need sequence node
@@PixelHelmet The fact is that the standard thirdperson blueprint already uses the beginplay node, and in one blueprint it cannot be used twice, so I had to use the sequence node in order for the startplay to work in the logic from your video, so everything works, sorry about my words :D
@@PixelHelmet Really very useful tutorial thanks
@@PixelHelmet If possible, could you also make a tutorial on gaining experience and levels player?
I get this odd error that it says "none to read MB main: on the update health module, any recommendations?
Fixed the read error by placing in an is valid prompt, however now only thing left is getting the text to update properly after respawn . Currently it's staying at 0 after death. (BTW, I loved this video this is amazing help I'm just new lol)
trying to do this but apparently it doesnt work when making a server multiplayer game. Any fixes? i get errors unless i use custom event but than health bar doesnt show
it's always an option in details but what you're looking for is Replication in the details panel
Hi.
when my character life point will hit 50 i want the health color bar to change from green to red how to do that?
You would set this up using a curve! It's a bit more advanced but just search in YT Changing Color of health bar using Curves.
ok but where did those images come from?
I seriously don't know what I'm meant to look up here.
Hi, If you're referring to the custom UI images, it's something I made custom in Photoshop. I've uploaded them for you in the video description (Link to google drive).
can anyone help please it only allows me to add booleons in the widgit blueprint
To the left under variables, you should be able to swap from Bool to Integer or anything else you may need (Float in this case)
The Target in the Controller in UE5.1 doesn't work. I have delete all and remake it twice and it still not work.
I can confirm this works in ue5.1 latest version as of 1/21/2023. It appears a step might have been missed here
if you havent fixed i found that under variables the get UI pin type was not set the widget blueprint previously made
got it all done and it crashed when I clicked save
controller thing doesn't even allow player to move camera or move in directions bruh
Just add the create WB Main widget after the Add Mapping Context in the existing template. UE5 did a change and added that to the default controller.
Hi ,thanks for wonderfull Tuto, I just have one question/problem, apparently in not able to get the "set Percent" (native function ?) that you use in the event Graph of your WP_Main... I'm not able to understand why.... Any idea ?
You might be referencing an object which has a different workflow to get the same result. You need to make sure Progress Bar is selected and that it Is variable
how can i hide the HP UI on another level?
Remove From Parent on Event Begin Play of the level itself I'd imagine
Is not on Ability System :( so is not correct, how to do this
It does not work with first person because i cant have 2 begin on play events
You can extend this to the original begin play, if it gets messy select the code and collapse to function
use a sequencer node
Great Tutorial, but around 20min Mark, it just gets bit confusing and your going to fast, i have had to watch three times to figure which window your in and jumping between the screens is utterly confusing
Also WB Main is not compatible with SethealthbarInfo
I agree, he has weird pacing which is hard to follow. It should be the effective window and explaining WHERE you can check it. If WB main is not compatible, look at variables and change the type to the correct Float value
Nothing happens when HP drops to zero
As soon as I spawn in, I die, what's going on?
I DONT WANT TO USE PAIN VOLUME 😂, tell me how to make an enemy that damage the player
Help please
My hp goes from 100 to 0
Same. Did you ever figure out why?
1. Make sure the Max Health Variable is set to 100 and make sure the damage volume is set as 10-90 or something but also it seems you might have plugged Max Health and confused it with Current Health
damage is cost of upgrading hardware to use unreal 5
good health is not doing it and staying on 4
oh and everyone zoom in to the feet on this third person character and notice its not even flat to surface
aint that pro
V helpful, thanks.
@@hxrdwired
construction stuff , even major couriers at one time were mob owned