VN_fnc_tunnel_spawn_units

From Savage Game Design Wiki
Revision as of 21:26, 26 April 2022 by Slow (talk | contribs) (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>...")
(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

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;