点击图片可看到更多讯息
开始使用于
- 游戏:
- Operation Flashpoint
- 版本:
- 1.5
描述
- 描述:
- 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.
基本句法
范例
- 范例1:
_soldier1 setDamage 1;
额外资讯
- 多人游戏:
- -
- 也可以看看:
- setDammagesetVehicleArmordamagegetDammagesetHitgetHitgetHitIndexsetHitIndexgetHitPointDamagesetHitPointDamage
注意事项
Notes
- Ceeeb
- In OFP, setting a unit's damage to a negative value will set it's health to full, but impair their aim.
Bottom Section
- Posted on May 29, 2015 - 11:23 (UTC)
- KamikazeXeX
- Using this possible overrides individual hit damages such as setHitPointDamage ["HitHead", _value]; if you're having issues try setting hitdamage after setdamage