BIS fnc setHitPointDamage: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Objects(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| Sets damage to HitPoint with dependency or not. |DESCRIPTION= | | Sets damage to HitPoint with dependency or not. |DESCRIPTION= | ||
| [object, hitPoint, damage, useDependency] call [[BIS_fnc_setHitPointDamage]] |SYNTAX= | | [object, hitPoint, damage, useDependency] call [[BIS_fnc_setHitPointDamage]] |SYNTAX= | ||
Line 25: | Line 22: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[<nowiki/>[[player]], "HitFace", 0.9] [[call]] [[BIS_fnc_setHitPointDamage]];</code> |EXAMPLE1= | |x1= <code>[<nowiki/>[[player]], "HitFace", 0.9] [[call]] [[BIS_fnc_setHitPointDamage]];</code> |EXAMPLE1= | ||
| [[setHitPointDamage]] |SEEALSO= | | [[setHitPointDamage]] |SEEALSO= |
Revision as of 23:45, 16 January 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