Progress bar not changing?
Having an issue where I've linked my progress bar to a float value (health):
but there is no visual change in the progress bar it's always shown as empty in the game:
the value of the health is set to 100, and this method has worked inside previous projects. Anyone know what would cause it to not be going, though? or if there is a way to check that the progress bar is receiving the correct value?
asked Sep 06 '16 at 10:24 PM in Blueprint Scripting
Just to give you a correct answer (you already found out in the comments): you are trying to cast a
The solution would be that you retrieve the pawn the
Alternative: you are using GetPlayerCharacter. This retrieves the Character directly.
Here an example blueprint:
answered Sep 07 '16 at 02:04 PM
you can right click on the cast node and convert it to pure to avoid this problem
answered Sep 07 '16 at 08:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here