Description
Sets damage to HitPoint with dependency or not.
Syntax
[object, hitPoint, damage, useDependency] call BIS_fnc_setHitPointDamage
Parameters:
-
object: Object - entity to which damage applies -
hitPoint: String - hitPoint to which damage applies -
damage: Number - amount of damage to apply
Returns: Nothing
Examples
Example 1
[player, "HitFace", 0.9] call BIS_fnc_setHitPointDamage;