Ball blueprint healthbar
Hi there, i am having an issue getting the progressionbar from a health-widget to target the ball from the rolling ball template, and i have tried all the stuff i can think of.
Since the ball is not a character-class, is the progress bar out of the question or is there a way around this?
Any help or clarification would be greatly appreciated!
asked Feb 02 '19 at 02:40 PM in Blueprint Scripting
whats the balls object type? is it an actor or a pawn? if its a pawn then the method you show could potentially work, that is aside from the get all of class which is a bad way to go about this. also where is the healthbar being created? if you create the healthbar from the ball bp then you can create a variable in the widget and pass along a reference when the widget is created.
so the simple answer is yes you can have a healthbar with any actor, but to decide on implementation more info may be required. I dont have that template installed atm so i cant exactly build it for you.
Follow this question
Once you sign in you will be able to subscribe for any updates here