Difference between revisions of "VN ms fnc dgbt squadStart"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) (Page filling) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |e= | + | |a= global |
+ | |||
+ | |e= global | ||
|g1= dgbt | |g1= dgbt | ||
− | |d= | + | |d= Starts the squad transport DGBT pickup phase - the random area being a square of 800m × 800m. |
− | |||
− | |||
− | + | |s= [taskedGroup, pos, parentTask, unitClasses] call [[VN_ms_fnc_dgbt_squadStart]] | |
− | |||
− | + | |p1n= taskedGroup | |
− | + | |p1t= group | |
− | + | |p1d= the group to receive the task | |
− | + | |p1v= | |
− | |||
− | + | |p2n= pos | |
− | + | |p2t= array | |
− | + | |p2d= group to board ''helicopter'' | |
− | + | |p2v= | |
− | |||
− | |||
− | | | ||
− | | | + | |p3n= parentTask |
− | | | + | |p3t= string |
− | | | + | |p3d= if provided, the task will be created as child to that parent task |
− | | | + | |p3v= "" |
− | | | + | |p4n= unitClasses |
− | | | + | |p4t= array |
− | | | + | |p4d= transported units' classnames |
− | | | + | |p4v= <small>["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"]</small> |
− | |r1t= | + | |r1t= array |
− | |r1d= | + | |r1d= format [squad group, units, currentTask, markerName] |
− | |x1= <code> | + | |x1= <code>[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]];</code> |
}} | }} |
Latest revision as of 21:19, 25 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
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;