Difference between revisions of "VN fnc tunnel spawn units"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= tunnel_functions |d= <pre>Spawns units in a single group in the groupt of tunnels provided to the function.</pre>...") |
(No difference)
|
Latest revision as of 21:26, 26 April 2022
| ← 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;