Regeneration delay in shields?
Posted: Sat Mar 26, 2011 10:50 pm
I've done some digging on here but I cannot seem to find out how to make a unit's shields have a regeneration delay after they are damaged. For instance, in Mass Effect, when your shields are damaged, they don't start regenerating right away; they have to be free from attack for a length of time before regenerating. The same thing happens in Republic Commando.
What would I need do to this unit's script in order to obtain this effect?
What would I need do to this unit's script in order to obtain this effect?
Code: Select all
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
MaxHealth = 300.0
MaxShield = 400.0
AddShield = 4.5
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle_disruptor"
WeaponAmmo = 0
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_rifle_cryo"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_pistol_disruptor"
WeaponAmmo = 0
WEAPONSECTION = 4
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1
VOUnitType = 121