VN_ms_fnc_tracker_spawnGroup

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): global

Description

Spawns a group and potential vehicles based on configFile >> "CfgTrackerArmies" >> army >> "alert_alert" config entry.

Syntax

Syntax
[pos, alert, side, army] call VN_ms_fnc_tracker_spawnGroup
Parameters
pos: Position - group spawn position
alert: Number - (Optional, default 0) group's alert level
side: Side - (Optional, default east) group's side
army: String - (Optional, default "VN") "army" as defined in "CfgTrackerArmies"
Return value
Group - the spawned group

Examples

Example 1
[player modelToWorld [0,250,0], 1, east, "VN"] call VN_ms_fnc_tracker_spawnGroup;