Triggering health bar
SlightlyGrim
Member Posts: 51
Alright
I need a bit of help, I've made a health which decreases with time but I need it to stop when the player enter a specific area and then to increase back up again. Any help would be great.
cheers
I need a bit of help, I've made a health which decreases with time but I need it to stop when the player enter a specific area and then to increase back up again. Any help would be great.
cheers
Comments
Set a global boolean "health up" when your player reaches the desired area set "health up" to true otherwise health up to false.
In your timer that decreases health set it inside a rule that says if "health up" is false take away health other wise if health up is true increase health.
Hope this helps.
Darren.
would be great for more help
When Health is less than or equal to <insert max health> then regain as utopian explained