While I was trying to sleep the other day, I had a brilliant idea for a COD style health script. After some tweaks the next day (and some irritated emails to Ply) I* got it to work.
How it works is:
You get hurt
3 second delay
You start healing until you get hurt again
So, for all you guys wishing for COD style health, here's the code:
desc = COD Health
;Triggers
:state=0:dimvar=fh,state=1
:vargreater=fh $PH:etimerstart,state=1
:state=1,etimergreater=3000:plraddhealth=1,etimerstart,state=2
:state=2,etimergreater=100:plraddhealth=1,etimerstart
:ALWAYS:setvar=fh $PH,subvar=fh 1
Sadly, no blood HUDs to go along with it. Also, it is for PB only.
Thanks again to Plystire for giving me a copy of the memo.
*
Pronounced "Ply"