VN_ms_fnc_dgbt_squadStart

From Savage Game Design Wiki
Revision as of 21:19, 25 February 2021 by Lou Montana (talk | contribs) (Page filling)
(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 Wyqer, veteran29
Argument(s): global
Effect(s): global

Description

Starts the squad transport DGBT pickup phase - the random area being a square of 800m × 800m.

Syntax

Syntax
[taskedGroup, pos, parentTask, unitClasses] call VN_ms_fnc_dgbt_squadStart
Parameters
taskedGroup: Group - the group to receive the task
pos: Array - group to board helicopter
parentTask: String - (Optional, default "") if provided, the task will be created as child to that parent task
unitClasses: Array - (Optional, default ["vn_b_men_army_02", "vn_b_men_army_08", "vn_b_men_army_03", "vn_b_men_army_10", "vn_b_men_army_06", "vn_b_men_army_05"]) transported units' classnames
Return value
Array - format [squad group, units, currentTask, markerName]

Examples

Example 1
[helicopterGroup, getMarkerPos "LZ", nil, ["vn_b_men_army_01", "vn_b_men_army_02", "vn_b_men_army_03"]] call VN_ms_fnc_dgbt_squadStart;