Game: ARMA 2
Version: 1.00
DescriptionDescription: Damage / repair part of object. The object must be local to the computer where command is executed. Damage 0 means fully functional, damage 1 means completely destroyed / dead. Note: Some part names are in Czech; see translation table.
SyntaxSyntax: object setHit [part, damage]
Parameters:object: Object -
part: String - Name of the part (selection name).
damage: Number -
Return Value: Nothing
ExamplesExample 1:vehicle player setHit ["motor", 1]
Example 2:vehicle player setHit ["mala vrtule", 0.95]
Example 3:if (local _heli) then {
_heli setHit ["velka vrtule", 0];
} else {
hint "Vehicle " + str _heli + " must be local to this machine to do that!";
};