# DoDamage

Objects
Status
5.1 OC
void
int change Change of damage value (positive or negative).
int damage_type Damage cause specification which is to be passed to Fx*Damage callbacks of effects (see effect documentation). Default is FX_Call_DmgScript.
int caused_by Number of the player who has caused the damage.
Adjusts the damage value of an object. If a change is made, the callback 'Damage' is made in the target object.
FindObject
(Find_Func("IsTree"))->DoDamage(500);
Fells a tree if it's not yet down.
GetDamage
Sven2
2001-11