Skip to content
VN_fnc_revive_action_respawn

VN_fnc_revive_action_respawn

v1.00Theme: Revive & MedicalGroup: ReviveArguments: globalEffects: globalReturns: Boolean

Main player respawn action function.

Syntax

[respawnedUnit, type] call VN_fnc_revive_action_respawn

Parameters

ParameterTypeDefaultDescription
respawnedUnit Object— the unit that the action is being performed on
type Number— the type of performed action:
• 1: action started
• 2: action tick (see VN_fnc_holdActionAdd)
• 3: action completed
• 4: action interrupted

Return value

Boolean - true when done

Examples

[player, 3] call VN_fnc_revive_action_respawn;

Documented by Ethan Johnson.