BIS fnc setHitPointDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - " " to " ")
Line 27: Line 27:
| [[setHitPointDamage]]
| [[setHitPointDamage]]
}}
}}




[[Category:Functions|{{uc:setHitPointDamage}}]]
[[Category:Functions|{{uc:setHitPointDamage}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setHitPointDamage}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setHitPointDamage}}]]

Revision as of 00:40, 1 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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
  • true - distribute damage to dependent HitPoints as well
  • false - apply damage to given HitPoint only
Return Value:
Return value needed

Examples

Example 1:
[player, "HitFace", 0.9] call BIS_fnc_setHitPointDamage;

Additional Information

See also:
See also needed

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