{"name":"BIS_fnc_reviveAllowed","operator":null,"title":"BIS fnc reviveAllowed","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_reviveAllowed","revid":349060,"updated":"2023-11-08T14:47:19Z","groups":["Revive"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.42"}],"since":{"game":"arma3","name":"Arma 3","version":"1.42"},"arma3_since":"1.42","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns true if unit is in general able to revive someone.","syntaxes":[{"syntax":"[medic, unit] call BIS_fnc_reviveAllowed","since":null,"effect":null,"exec":null,"params":[{"name":"medic","type":"Object","optional":false,"default":null,"description":"unit performing revive","types":["Object"],"since":null,"text":"medic: Object - unit performing revive"},{"name":"unit","type":"Array","optional":false,"default":null,"description":"unit that will be revived","types":["Array"],"since":null,"text":"unit: Array - unit that will be revived"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"returns true if possible, false is not","text":"Boolean - returns true if possible, false is not"}}],"examples":[{"text":"```sqf\nprivate _canRevive = [medic,target] call BIS_fnc_reviveAllowed;\n```","code":["private _canRevive = [medic,target] call BIS_fnc_reviveAllowed;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Revive","BIS_fnc_disableRevive","BIS_fnc_reenableRevive","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_reviveIsValidSecure","BIS_fnc_reviveOnBeingRevived","BIS_fnc_reviveOnForcingRespawn","BIS_fnc_reviveOnState","BIS_fnc_reviveOnStateJIP","BIS_fnc_reviveSecureUnit"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Revive","Functions","Introduced with Arma 3 version 1.42"],"docblock":null,"filled_from_docblock":[]}