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.
- Posted on May 29, 2015 - 11:23 (UTC)
- Using this possible overrides individual hit damages such as setHitPointDamage ["HitHead", _value]; if you're having issues try setting hitdamage after setdamage