BIS fnc setHitPointDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[player, "HitFace", 0.9] [[call]] [[BIS_fnc_setHitPointDamage]];</code> |=
|x1= <code><nowiki>[</nowiki>[[player]], "HitFace", 0.9] [[call]] [[BIS_fnc_setHitPointDamage]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 10:45, 2 March 2017


-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.67|1.67]]
Hover & click on the images for description

Description

Description:
Sets damage to HitPoint with dependency or not (Optional)
Execution:
call
Groups:
Uncategorised

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
useDependency (Optional): Boolean
  • true (Default) - distribute damage to dependent HitPoints as well
  • false - apply damage to given HitPoint only
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

[[Category:Introduced with arma3dev version 1.67]][[ Category: arma3dev: New Functions | BIS FNC SETHITPOINTDAMAGE]][[ Category: arma3dev: Functions | BIS FNC SETHITPOINTDAMAGE]]

Notes

Bottom Section