BIS fnc setHitPointDamage: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")  | 
				Lou Montana (talk | contribs)  m (Some wiki formatting)  | 
				||
| Line 22: | Line 22: | ||
|r1= [[Nothing]]  | |r1= [[Nothing]]  | ||
|x1= <  | |x1= <sqf>[player, "HitFace", 0.9] call BIS_fnc_setHitPointDamage;</sqf>  | ||
|seealso= [[setHitPointDamage]]  | |seealso= [[setHitPointDamage]]  | ||
}}  | }}  | ||
Revision as of 20:59, 13 May 2022
Description
- Description:
 - Sets damage to HitPoint with dependency or not.
 - Execution:
 - call
 - Groups:
 - Object Manipulation
 
Syntax
- 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
 - useDependency (Optional, default true): Boolean
 - Return Value:
 - Nothing
 
Examples
- Example 1:
 
Additional Information
- See also:
 - setHitPointDamage
 
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note