object setDammage damage

Operand types

object: Object
damage: Number

Type of returned value

Description

Damage / repair object.
Damage 0 means fully functional, damage 1 means completely destroyed / dead.

Note: this function is identical to setDamage which was introduced to correct the spelling error in this, the original command.

Used In

OFP/ArmA

Example

soldier1 setDammage 1
Search OFPEC COMREF

Advertisement