Skip to content
VN_fnc_revive_action_dropPlayer

VN_fnc_revive_action_dropPlayer

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

Main player dropping action function. Uses VN_fnc_revive_conversation and VN_fnc_revive_detachUnit.

Syntax

[draggedUnit, type] call VN_fnc_revive_action_dropPlayer

Parameters

ParameterTypeDefaultDescription
draggedUnit 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

[cursorObject, 3] call VN_fnc_revive_action_dropPlayer;

Documented by Ethan Johnson.