VN_fnc_revive_detachunit

From Savage Game Design Wiki
Revision as of 21:06, 26 April 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= advanced_revive_functions |d= <pre>Takes unit and detaches any attached objects which are incapicated players / ai.<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

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

Syntax

Syntax
[] call VN_fnc_revive_detachunit;
Parameters
_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

Example 1
[player, true] call vn_fnc_revive_detachunit