I want the script to add 1 health every second I also want it to wait a total of 5 seconds before this begins... But I don't want it to start adding the players health till they have not got hurt for 5 more seconds.... this is what I have
;Artificial Intelligence Script
;Header
desc = health regeneration
;Triggers
:state=0:state=1
:state=1,plrhealthless=100:timerstart,state=2
:state=2,timergreater=5000:plraddhealth=1
:state=2,plrhealthgreater=99:state=0
;End of Script
This is giving the player health regen after 5 seconds if players health is below 100... But it just gose straight up to 100 in less than 2 seconds. I want it to take a total of 100 seconds to get players health from 0 to 100. But no health regeneration to happen till the player has not been hurt for 5 seconds. Please help!
Your signature has been erased by a mod - no affiliate links thanks