If anyone is having problems with the health bar staying at zero, the issue is a bug that is preventing the Tick from firing. There is a workaround by connecting the "Event BeginPlay" node to the "Set Actor Tick Enabled" node and set it to true.
@matthewboard77559 жыл бұрын
just used this for 4.7.6 and it worked like a charm! Cheers!
@VoidOrchestra9 жыл бұрын
Your tutorials, all of them, are extraordinarilly useful. However, a constructive comment, is that when you build blueprints, the nodes are always so far apart, that we can't get a grasp of the general idea in one pause of the video. You take too much space making your network, all nodes could be closer, and it would help us follow even more, by seeing all elements as you build. Thans again for all the videos.
@Champinoir10 жыл бұрын
Hi tesla, your tutorials are very clear and easy to follow, i just got two questions : how can i make the bar reduce when i touch the other character whith the "first person projectile" ? and how can i make that other character do an animation when the bar hits 0 ? Thanks for the tutorials, they are really great !
@michealholloway5084 жыл бұрын
Bro amazing, i was struggling for hours, thank youuuuuuuuuuuuuu
@Kratoss8709 жыл бұрын
Appreciate this, u just saved many hours of my time Thanks
@bobs800510 жыл бұрын
Amazing tutorial. +1 Sub. Very easy to follow, thanks Tesla!
@chengyanslc8 жыл бұрын
Good tutorial thanks! I could have thought this out myself but did not!
@samnater8 жыл бұрын
Very useful, thank you!
@martinds935 жыл бұрын
Is there a way to make this see from all sides? Or rotate depending of the view of the player while mantaining its scale and position in the world...
@BarbaNeggra6 жыл бұрын
You helped me a lot! THANK YOU!!!!
@AceAmStiel6 жыл бұрын
could you do a tutorial on how to Only show health bar if the player is close to the enemy and can see it? it would be so helpfull :)
@josephrose77535 жыл бұрын
There's probably a better way, but how I manage this: Create a variable for the distance from enemy stored in the enemy blueprint. When within range, this can trigger creation of hud, out of range destroys it. Alternatively, you can add a collision "field of view" box on your main character. Begin overlap creates widget, end overlap deletes it. Hope this helps, cheers.
@wolf56599 жыл бұрын
Tesla Dev The health bar isnt moving but when I hit the F button the health drops to 0 after a while, it only goes from full to 0.
@ferranneonghofreelancer84937 жыл бұрын
Thanks for your tuts tesla
@gooddereklu8 жыл бұрын
Hi! was wondering if you have tutorial of 3d widget infront of everything? I'm making a shooting game aim point, I'm making this in VR, so It's got to be on 3d widget, how can I make a 3d widget not being able to block?
@AtomDellow9 жыл бұрын
Is there a way of setting up NPC health without using level blueprint, and Event Tick?
@ricksanders51779 жыл бұрын
Thanks for this mate! Question though. Im trying to do something similar with enemy variables and widgets. However, I'm trying to make an RPG and I don't want the progress bar to be placed over the enemy's head. Rather, I want it to be placed at the top left of the screen via the main program blueprint. I can't seem to get it to work. Can you assist? Thanks!
@TheCreakyChair10 жыл бұрын
Hi Tesla, Great work again. How could you use this to display TEXT above the character and not a progress bar, as I am only able to :get" progress bar, not text field. Cheers
@KelDG37 жыл бұрын
You are a legend mate!
@hex.vagyok5 жыл бұрын
cewl! how to make it disappear by a distance? thanks!
@spinav10 жыл бұрын
Tesla you rock! Thanks!
@TeslaUE410 жыл бұрын
Vspina vs Cheers Dude =]
@beezow71137 жыл бұрын
How could you make this only appear if your crosshairs was hovering over / near the enemy
@chrisharrison47899 жыл бұрын
Subbed. Your videos are amazing man. But I do have a question. When I name the text block Health, the text is tiny. Thoughts?
@Velor58 жыл бұрын
What can I use instead of event tick?
@TheSpecula9 жыл бұрын
Hey! Thanks for your tutorial! Do you know how I can display multiple Widgets on top of each other? My idea was implementing "Cards" like in Hearthstone (or any TCG) with Widgets, but unfortunaly the Z-order always depends on the distance to the viewer, so even if some cards physically lay on top of other cards, when the lower cards are closer to the viewer (because of some angles), this cards get drawn on top of the upper cards, resulting in very strange looking results. Also I would like to get some sort of hover-function: When the mouse hovers a widget, scale it up a bit. But I don't find anything that works properly. :( Do you have any ideas? :)
@SolarTara10 жыл бұрын
How would you do this for firstperson??
@spinav10 жыл бұрын
Hey, what UE4 version are you running? I created the WidgetBlueprint and when I go into my character blueprint, I dont have that component option. There's no Experimental: Widget Blueprint
@TeslaUE410 жыл бұрын
Vspina vs It just got added with the 4.6 update.
@spinav10 жыл бұрын
Tesla Dev Ahh I'll get the update. Thanks!
@Mustafa4101996Ahmed8 жыл бұрын
My widget isnt appearing at all. I'm using 4.12.5
@BoyPorcelain7 жыл бұрын
you have to make sure that when you're in the widget blueprint after creating the progress bar, go into 'progress' and set it to max. then it will show up in the characters viewport
@jackjones99627 жыл бұрын
Put the progress bar inside a border. Set the Horizontal and vertical alignment to fill, then resize the border as if it were the progress bar.
@kweenkyrene56377 жыл бұрын
Little late, but might help others: Mine was rotated so I couldn't see it, It was like a straight line from my viewport, so all I had to do was rotate it along one of the axes
@TrickWithAKnife7 жыл бұрын
Personally I needed to go to the component list, select the widget, then in its details go to user interface and select the widget bp there.
@redknuckles76556 жыл бұрын
set your ai to real time and it should show it self
@ID3458919 жыл бұрын
Wait.. i haven't tried this yet, but from what i'm seeing, if you were to use this health bar on multiple AI's and shoot/hurt one of them, wouldn't all of the NPC health bars be affected if they all use the same one? meaning i would have to make a new blueprint widget for every new npcs that are spawned in the game? T_T
@ID3458919 жыл бұрын
Charlie Bravo Nevermind, after trying it.. it actually doesn't affect the global setting of the widget but only the one on the AI. I still have a lot to learn, thank you for this tutorial.
@Thechosenone262110 жыл бұрын
you got a sub
@greninjagreg62458 жыл бұрын
Thank you so much!!!
@anlar19989 жыл бұрын
What is Float / Float does i dont get it.
@LearnPhilFoundation9 жыл бұрын
Ugur Anlar The variable type float, an approximation of a real number that supports a trade-off between range and precision. You are essentially dividing one float instance with another. TL;DR: Division
@4destined3657 жыл бұрын
Doesn't work 4.15.3 , the health bar stays at 0%
@GHOSTYARD37 жыл бұрын
I have the same issue, not sure if there is a fix to this :(
@jaxjoke39222 жыл бұрын
Thank you ! +1 like
@SurjikOFF7 жыл бұрын
Great! Thx!
@AlFredo-sx2yy7 жыл бұрын
so i did all of what you did and... i doesnt show up in game! :D
@devts58947 жыл бұрын
Thank you!!!!
@zacsamuel97807 жыл бұрын
This doesn't work in 4.15, so might be time to take it down.
@josh_mak7 жыл бұрын
Still works, zoom way out and rotate your object 90 degrees. My health bar was massive when trying this.