From Bohemia Interactive Community
Click on the images for descriptions
- Operation Flashpoint
- Damage / repair object. Damage 0 means fully functional, damage 1 means completely destroyed / dead. This function is identical to setDammage. It was introduced to fix a spelling error in original function name.
- Example 1:
_soldier1 setDamage 1
- In OFP, setting a unit's damage to a negative value will set it's health to full, but impair their aim.