{"name":"BIS_fnc_reviveOnBeingRevived","title":"BIS fnc reviveOnBeingRevived","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_reviveOnBeingRevived","revid":349314,"updated":"2023-11-08T14:52:25Z","groups":["Revive"],"status":"ok","games":{"arma3":"1.42"},"since":"arma3 1.42","arma3_since":"1.42","description":"Used to execute specific code locally on every client whenever \"being revived\" flag changes.","syntaxes":[{"syntax":"[nil, flagState, unit] call BIS_fnc_reviveOnBeingRevived","params":[{"name":"nil","type":"Nothing","description":"*This parameter has not been implemented*","type_expr":"Nothing"},{"name":"flagState","type":"Boolean","optional":true,"default":"false","description":"flag state - true or false","type_expr":"Boolean","text":"flagState: Boolean - (Optional, default false) flag state - true or false"},{"name":"unit","type":"Object","description":"unit to set the flag for","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"returns true or Nothing if state didn't change"}}],"examples":[{"code":["[nil, true, squadLeader] call BIS_fnc_reviveOnBeingRevived;"]}],"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_reviveIsValidSecure","BIS_fnc_reviveOnForcingRespawn","BIS_fnc_reviveOnState","BIS_fnc_reviveOnStateJIP","BIS_fnc_reviveSecureUnit"]}