BIS fnc setHitPointDamage: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting)  | 
				Lou Montana (talk | contribs)  m (Text replacement - " |s1=[" to " |s1= [")  | 
				||
| Line 8: | Line 8: | ||
|descr= 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]]  | ||
|p1= object: [[Object]] - Entity to which damage applies  | |p1= object: [[Object]] - Entity to which damage applies  | ||
Revision as of 23:11, 12 July 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