BIS fnc setHitPointDamage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
||
Line 9: | Line 9: | ||
| Sets damage to HitPoint with dependency or not. | | Sets damage to HitPoint with dependency or not. | ||
| [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 15:56, 12 June 2021
Description
- Description:
- Description needed
- 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