BIS fnc reviveIsValid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (page filled)
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-->


| <pre>/*
<!--|eff= local-->
Author: Jiri Wainar


Description:
|descr= Check if player can perform revive action on given unit.
Check if player can perform revive action on given unit.


Parameters:
||s1= [unit] call [[BIS_fnc_reviveIsValid]]|=Syntax
0: OBJECT - unconscious unit


Returns:
|p1= unit: [[Object]] - Unit to be checked
BOOL - is player able to revive the unit and is the unit revivable?


Example:
|r1= [[Boolean]]
_reviveIsValid = [_unit] call bis_fnc_reviveIsValid;
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_reviveIsValid]]|Syntax=
|x1= <code>[BIS_player] [[call]] [[BIS_fnc_reviveIsValid]];</code>


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|exec= call


|Datatype - description|Return value=
|seealso= [[Arma 3 Revive]] [[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_reviveEhRespawn]] [[BIS_fnc_reviveEnabled]] [[BIS_fnc_reviveGet3dIcons]] [[BIS_fnc_reviveGetActionIcon]] [[BIS_fnc_reviveIconControl]] [[BIS_fnc_reviveInit]] [[BIS_fnc_reviveIsValidSecure]] [[BIS_fnc_reviveOnBeingRevived]] [[BIS_fnc_reviveOnForcingRespawn]] [[BIS_fnc_reviveOnState]] [[BIS_fnc_reviveOnStateJIP]] [[BIS_fnc_reviveSecureUnit]]


|x1= <code></code>|Example 1=
|exec= call |Execution=
| |See also=
}}
}}



Revision as of 16:38, 17 January 2020