VN_fnc_tunnel_spawn_units
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Spawns units in a single group in the groupt of tunnels provided to the function.
Syntax
- Syntax
- [_tunnels,_side,_count,_classnames] call VN_fnc_tunnel_spawn_units;
- Parameters
- _tunnels: Array - (Optional, default
[]
) Array of tunnel objects - _side: Side - (Optional, default
EAST
) Side to spawn units in - _count: Number - (Optional, default
16
) Number of units to spawn - _classnames: Array - (Optional, default
[]
) Number of units to spawn - Return value
- Group - Group created by the function
Examples
- Example 1
[_tunnels, [west,east,independent] select _garrison_side, _size, _classnames] call vn_fnc_tunnel_spawn_units;