Skip to content
VN_fnc_revive_detachunit

VN_fnc_revive_detachunit

Takes unit and detaches any attached objects which are incapicated players / ai.

Syntax

[_unit,_attached] call VN_fnc_revive_detachunit;

Parameters

ParameterTypeDefaultDescription
_unit Object— Unit that is the attached unit OR Unit that has others attached
_attached Boolean— Use attached units from the original unit

Return value

Boolean - Function reached the end

Examples

[player, true] call vn_fnc_revive_detachunit

Documented by Ethan Johnson.