Unit-Combat[ | ]
Unit Takes Damage[ | ]
GUI[ | ]
Unit - u takes damageFatalOption damageType damage (from damageEffect effects)
Galaxy Code[ | ]
void TriggerAddEventUnitDamaged (trigger inTrigger,unitref inUnit,int inDamageType,int inDamageFatal,string inEffect)
Description[ | ]
This event fires when a unit takes damage. Use "Damage Source Position" to get the position of the damage source. Use "Damaging Player" to get the owner of the unit that is dealing damage. Use "Damaging Unit" to get the unit that is dealing damage. Use "Triggering Damage Amount" to get the amount of damage being dealt. Use "Triggering Player" to get the owner of the unit that is taking damage. Use "Triggering Unit" to get the unit that is taking damage.