BIS fnc reviveEhHandleHeal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.42|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | ''N/A'' |Descripti...")
 
mNo edit summary
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.42|Game version=
|version1= 1.42


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
<!--|arg= local-->


| ''N/A'' |Description=
<!--|eff= local-->


|[] call [[BIS_fnc_reviveEhHandleHeal]]|Syntax=
|descr= Handles healing of unit. Unit gets fully healed after 10 seconds if current damage is smaller than initial damage, e.g. a medic healed the unit.


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
||s1= [unit] call [[BIS_fnc_reviveEhHandleHeal]]|=Syntax


|Datatype - description|Return value=
|p1= unit: [[Object]] - Unit to be healed


|x1= <code></code>|Example 1=
|r1= [[Boolean]] - If revive is enabled for given unit it always returns [[false]], if revive is disabled it returns [[Nothing]]


|exec= call |Execution=
|x1= <code>[BIS_unit] [[call]] [[BIS_fnc_reviveEhHandleHeal]];
</code>
 
|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_reviveEhHandleDamage]] [[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]]


| |See also=
}}
}}



Revision as of 14:10, 12 January 2020

Hover & click on the images for description

Description

Description:
Handles healing of unit. Unit gets fully healed after 10 seconds if current damage is smaller than initial damage, e.g. a medic healed the unit.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[unit] call BIS_fnc_reviveEhHandleHeal
Parameters:
unit: Object - Unit to be healed
Return Value:
Boolean - If revive is enabled for given unit it always returns false, if revive is disabled it returns Nothing

Examples

Example 1:
[BIS_unit] call BIS_fnc_reviveEhHandleHeal;

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_reviveEhHandleDamage 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