VN_fnc_revive_detachunit
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Takes unit and detaches any attached objects which are incapicated players / ai.
Syntax
- Syntax
- [_unit,_attached] 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