Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
JMG_Utility_Regen_HitPoints Class Reference

Regen's health via set health/shield strength instead of Apply_Damage, useful for infantry if you don't want the Regen affect \ Health (if enabled) must regen all the way before the armor starts coming back, unless regen armor is -1, then armor must be regen'd full before health starts \RegenHealth - Can this regen health \HealthAmount - Amount of health to regen \HealthPerPlayer - Amount of health per player to regen (amount*player count) \RegenArmor - Can this regen armor, if the value here is -1 it'll regen armor first before health \ArmorAmount - Amount of armor to regen \ArmorPerPlayer - Amount of armor per player to regen (amount*player count) \Rate - Speed to regen \DamageDelay - Amount of time regen must wait to start again after taking damage \ScaleHealthPerHeal - With each heal this value is added to HealthAmount, if the value goes negative it stops healing (value is multiplied by 0.00001) \ScaleArmorPerHeal - With each heal this value is added to ArmorAmount, if the value goes negative it stops healing (value is multiplied by 0.00001) More...

#include <jmgUtility.h>

Detailed Description

Author
jgray