unitName setHitPointDamage [hitPointName, damage]

Operand types

unitName: Object
[hitPointName, damage]: Array

Type of returned value

Description

Set the current level of damage for a specific Hit Point (specified by its config class).
0 means no damage, 1 is full damage.

Used In

Arma3

Example

(vehicle player) setHitPointDamage ["hitEngine2", 1];

player setHitPointDamage ["hitHands", 0.5];
Search OFPEC COMREF

Advertisement