Issue with Widget Component
Hi! I have this little issue, i made a widget_BP with a progress bar, and a custom event to increase the bar.
Now i've added this widget in a widget component inside another actor, now i want to call my custom event to start the bar but i cannot see my custom event in the list
Is this a wrong way ? I just want to see a different progress bar on the top of every my actors in the scene, thanks !
asked Sep 24 '18 at 10:49 PM in Blueprint Scripting
This is alright, there's just one more extra step you need to take - you have to get the user widget object and cast it to your widget class, like this:
In your case, you'd take gasoline progress bar and get its user widget object which you'd cast to GasolineCarBar_Widget. From there you can call your function.
answered Sep 24 '18 at 11:48 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here