Event Dispatches Do Not Work In Widget BP
I have spent more than 4 hours and no exaggeration here trying to make this simple code work.
All I want to do is when player collides with object progressbar increases, but it seems like dispatchers does not work.
Widget BP - When I collide with object this event should be played. It should remove 10 from current score, but this event never get fired for some reason
Object BP - When collided It supposed to fire event in a widget bp, but it does not.
What's the value of your two variables CURRENT and MAX?
The UMG ProgressBar is empty at 0.0 and considered full (at "100%") when it's value is 1.0.
Therefore make sure your progress bar value range is from 0.0 - 1.0 and not 0.0 - 100.0.
Instead of doing CURRENT - 10.0 you should be doing CURRENT - 0.1 and make sure the CURRENT variable has a default value of 1.0 and not 100.0 if you want the progress bar to start in the "Full" position.
answered Jan 12 '17 at 12:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here