BIS fnc reviveEhHandleHeal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |exec= call " to " ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:


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


|gr1 = Revive
|gr1= Revive


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


||s1= [unit] call [[BIS_fnc_reviveEhHandleHeal]]|=Syntax
|s1= [unit] call [[BIS_fnc_reviveEhHandleHeal]]


|p1= unit: [[Object]] - Unit to be healed
|p1= unit: [[Object]] - unit to be healed


|r1= [[Boolean]] - If revive is enabled for given unit it always returns [[false]], if revive is disabled it returns [[Nothing]]
|r1= [[Boolean]] - if revive is enabled for given unit it always returns [[false]], if revive is disabled it returns [[Nothing]]


|x1= <code>[BIS_unit] [[call]] [[BIS_fnc_reviveEhHandleHeal]];
|x1= <sqf>[BIS_unit] call BIS_fnc_reviveEhHandleHeal;
</code>
</sqf>


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

Latest revision as of 15:52, 8 November 2023

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:
Revive

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