BIS fnc reviveEhHandleDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 12: Line 12:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>BIS_unit [[addEventHandler]] ["HandleDamage",  
|x1= <code>BIS_unit addEventHandler ["HandleDamage",  
{
{
[[Magic Variables#this|_this]] [[call]] [[BIS_fnc_reviveEhHandleDamage]];
[[Magic Variables#this|_this]] [[call]] [[BIS_fnc_reviveEhHandleDamage]];

Revision as of 22:37, 12 July 2022

Hover & click on the images for description

Description

Description:
Should be excuted by HandleDamage event handler. See example. Handles damage calculation.
Execution:
call
Groups:
Revive

Syntax

Syntax:
Syntax needed
Return Value:
Nothing

Examples

Example 1:
BIS_unit addEventHandler ["HandleDamage", { _this call BIS_fnc_reviveEhHandleDamage; }];

Additional Information

See also:
Arma 3: Revive BIS_fnc_disableRevive BIS_fnc_reenableRevive BIS_fnc_reviveAllowed BIS_fnc_reviveBleedOut BIS_fnc_reviveDamageReset BIS_fnc_reviveDebug BIS_fnc_reviveEhDammaged BIS_fnc_reviveEhHandleHeal BIS_fnc_reviveEhKilled BIS_fnc_reviveEhRespawn BIS_fnc_reviveEnabled BIS_fnc_reviveGet3dIcons BIS_fnc_reviveGetActionIcon BIS_fnc_reviveIconControl BIS_fnc_reviveInit BIS_fnc_reviveIsValid BIS_fnc_reviveIsValidSecure BIS_fnc_reviveOnBeingRevived BIS_fnc_reviveOnForcingRespawn BIS_fnc_reviveOnState BIS_fnc_reviveOnStateJIP BIS_fnc_reviveSecureUnit

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