BIS fnc setHitPointDamage: Difference between revisions
m (Text replacement - "|Game version=" to "|Game version=  |gr1 = Object Manipulation |GROUP1=")  | 
				m (Text replacement - "\[\[Category\:Function Group\: Objects(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")  | 
				||
| Line 41: | Line 41: | ||
<h3 style="display:none">Bottom Section</h3>  | <h3 style="display:none">Bottom Section</h3>  | ||
[[Category:Functions|{{uc:setHitPointDamage}}]]  | [[Category:Functions|{{uc:setHitPointDamage}}]]  | ||
[[Category:{{Name|arma3}}: Functions|{{uc:setHitPointDamage}}]]  | [[Category:{{Name|arma3}}: Functions|{{uc:setHitPointDamage}}]]  | ||
Revision as of 09:34, 10 October 2020
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:
 [player, "HitFace", 0.9] call BIS_fnc_setHitPointDamage;
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