Set Health Bar


The Set Health Bar behavior will set the health bar to a specified value. This will override the current health par percentage with the new percentage. 

This behavior will trigger an event immediately when executed. 



Object A

This is the health bar that will be overwritten with the new percentage. If there is a health bar in your UI layers it will automatically be selected. If you do not have a health bar make sure to add one and then select it here.


This is the new percentage to set the health bar to.



Object ID

This outputs the Object ID.



Use this behavior to override the current health bar percentage with a new value. For example, if you pick up a health back that will fully restore your health you can set it to 100%. No matter what the current health percentage is, after this behaviour is executed it will be overwritten to 100.



Add to Health Bar

Get Health Bar



Have more questions? Submit a request


Article is closed for comments.