BIS fnc reviveIsValidSecure: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.42


|1.42|Game version=
|gr1= Revive


<!---|arg= local |Multiplayer Arguments=--->
|descr= Check if player can perform secure action on given unit.


<!---|eff= local |Multiplayer Effects=--->
|s1= [unit] call [[BIS_fnc_reviveIsValidSecure]]


| <pre>/*
|p1= unit: [[Object]] - unit to be checked
Author: Jiri Wainar


Description:
|r1= [[Boolean]]
Check if player can perform secure action on given unit.


Parameters:
|x1= <sqf>[BIS_player] call BIS_fnc_reviveIsValidSecure;</sqf>
0: OBJECT - unconscious unit


Returns:
|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_reviveIsValid]] [[BIS_fnc_reviveOnBeingRevived]] [[BIS_fnc_reviveOnForcingRespawn]] [[BIS_fnc_reviveOnState]] [[BIS_fnc_reviveOnStateJIP]] [[BIS_fnc_reviveSecureUnit]]
BOOL - is player able to secure the unit?
 
Example:
_reviveIsValid = [_unit] call bis_fnc_reviveIsValidSecure;
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
 
|[] call [[BIS_fnc_reviveIsValidSecure]]|Syntax=
 
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Revive|{{uc:reviveIsValidSecure}}]]
[[Category:Functions|{{uc:reviveIsValidSecure}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:reviveIsValidSecure}}]]

Latest revision as of 15:52, 8 November 2023

Hover & click on the images for description

Description

Description:
Check if player can perform secure action on given unit.
Execution:
call
Groups:
Revive

Syntax

Syntax:
[unit] call BIS_fnc_reviveIsValidSecure
Parameters:
unit: Object - unit to be checked
Return Value:
Boolean

Examples

Example 1:
[BIS_player] call BIS_fnc_reviveIsValidSecure;

Additional Information

See also:
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_reviveIsValid 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