BIS fnc setHitPointDamage: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2  |descr=$3")  | 
				||
| Line 7: | Line 7: | ||
|gr1= Object Manipulation  | |gr1= Object Manipulation  | ||
| Sets damage to HitPoint with dependency or not.  | |descr= Sets damage to HitPoint with dependency or not.  | ||
|s1=[object, hitPoint, damage, useDependency] call [[BIS_fnc_setHitPointDamage]]  | |s1=[object, hitPoint, damage, useDependency] call [[BIS_fnc_setHitPointDamage]]  | ||
Revision as of 20:54, 13 June 2021
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