VN_fnc_tunnel_spawn_units

From Savage Game Design Wiki
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;