Damages / repairs the given object.
Damage of 0 means fully functional, damage of 1 means completely destroyed / dead.
Note: This function is identical to setDamage, which was introduced to fix a spelling error in this command name.
|Syntax:||object setDammage damage|
_soldier1 setDammage 1;
|See also:||setDamage, damage, getDammage|
- In OFP, setting a unit's damage to a negative value will set it's health to full, but impair their aim.