BIS fnc reviveEhHandleDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Some wiki formatting)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.42
|version1= 1.42


|gr1 = Revive
|gr1= Revive
 
<!--|exec= server|=-->
 
<!--|arg= local-->
 
<!--|eff= local-->


|descr= Should be excuted by HandleDamage event handler. See example. Handles damage calculation.
|descr= Should be excuted by HandleDamage event handler. See example. Handles damage calculation.


||=Syntax
|s1=


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>BIS_unit [[addEventHandler]] ["HandleDamage",  
|x1= <sqf>
BIS_unit addEventHandler ["HandleDamage",  
{
{
[[_this]] [[call]] [[BIS_fnc_reviveEhHandleDamage]];
_this call BIS_fnc_reviveEhHandleDamage;
}];</code>
}];
 
</sqf>
|exec= call
 
|seealso= [[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]]


|seealso= [[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]]
}}
}}
[[Category:Functions|{{uc:reviveEhHandleDamage}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:reviveEhHandleDamage}}]]

Latest revision as of 17:24, 13 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