BIS fnc reviveEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|version1= 1.42" to "|version1= 1.42 |gr1 = Revive |GROUP1=")
m (Text replacement - "True" to "true")
Line 19: Line 19:
|p1= unit: [[Object]] - Unit that is checked
|p1= unit: [[Object]] - Unit that is checked


|r1= [[Boolean]] - [[True]] if enabled, [[false]] if not
|r1= [[Boolean]] - [[true]] if enabled, [[false]] if not


|x1= <code>_reviveEnabled = [BIS_unit] [[call]] [[BIS_fnc_reviveEnabled]];
|x1= <code>_reviveEnabled = [BIS_unit] [[call]] [[BIS_fnc_reviveEnabled]];

Revision as of 17:40, 26 December 2020

Hover & click on the images for description

Description

Description:
Returns is revive is enabled or not for the unit.
Execution:
call
Groups:
Revive

Syntax

Syntax:
[unit] call BIS_fnc_reviveEhRespawn
Parameters:
unit: Object - Unit that is checked
Return Value:
Boolean - true if enabled, false if not

Examples

Example 1:
_reviveEnabled = [BIS_unit] call BIS_fnc_reviveEnabled;

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_reviveEhHandleHeal BIS_fnc_reviveEhKilled 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