Hey!, how would i add a healthbar to this actor on a character? i dont want it to affect ALL healthbars just the players. it would be dumb if the player took damage and everything else did, as of rn i use a widget blueprint for a healthbar but i cant seem to tie the progress bar to just the players HP component?
@@MGDisorder Hi the easiest way to do that would be to create binding in your widget for your progress bar. Then cast to your player BP drag from the "As" output of the cast node and then search for the health component and get it. That way you are looking at specific component attached to your player
can you make another video showing how to stop the regeneration if the health reaches zero? also maybe make the enemy "die" in some way? this was very helpful but i want to learn to expand on this
Hi, so if you want to stop regenerating HP after reaching zero that would most likely mean the character is dead. Which means you can just include this in the death event, simply get the variable with regen timer and drag from it, then look for Pause Timer. We did the same thing in the Restore Health function if the character is already max health. As for making the character "die" I could suggest adding simple ragdoll for starters. I have a video on how to do that here: th-cam.com/video/StdpO6b0APA/w-d-xo.html
Dude, you explain it very quickly and simply, I really like your channel. I want you to continue
why does so amazing channel has so low engagement
Any chance you could post a video of you creating that death zone? Thank you so much for your help. ^-^
Hey!, how would i add a healthbar to this actor on a character? i dont want it to affect ALL healthbars just the players. it would be dumb if the player took damage and everything else did, as of rn i use a widget blueprint for a healthbar but i cant seem to tie the progress bar to just the players HP component?
@@MGDisorder Hi the easiest way to do that would be to create binding in your widget for your progress bar. Then cast to your player BP drag from the "As" output of the cast node and then search for the health component and get it. That way you are looking at specific component attached to your player
@that_skye thank you so much!
can you make another video showing how to stop the regeneration if the health reaches zero? also maybe make the enemy "die" in some way? this was very helpful but i want to learn to expand on this
Hi, so if you want to stop regenerating HP after reaching zero that would most likely mean the character is dead. Which means you can just include this in the death event, simply get the variable with regen timer and drag from it, then look for Pause Timer. We did the same thing in the Restore Health function if the character is already max health.
As for making the character "die" I could suggest adding simple ragdoll for starters. I have a video on how to do that here: th-cam.com/video/StdpO6b0APA/w-d-xo.html
@@that_skye thank you
support