Difference between revisions of "VN ms fnc dgbt squadBoard"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
(Page filling)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Wyqer, veteran29
+
|author= Wyqer, veteran29
 +
 
 +
|a= global
  
|e=
+
|e= global
  
 
|g1= dgbt
 
|g1= dgbt
  
|d= <pre>/*
+
|d= Let the squad from current DGBT board the helicopter. Uses [[VN_ms_fnc_dgbt_generateTaskId]].
    Author: Wyqer, veteran29
 
    Date: 2019-07-14
 
  
    Description:
+
|s= [taskedGroup, boardingGroup, helicopter, parentTask] call [[VN_ms_fnc_dgbt_squadBoard]]
        Let the squad from current DGBT board the helicopter.
 
  
    Parameter(s):
+
|p1n= taskedGroup
        _grp        - Group to create the task for.                                    [GROUP, defaults to grpNull]
+
|p1t= group
        _squadGrp  - Group of the infantry units which should board the helicopter.    [GROUP, defaults to grpNull]
+
|p1d= the group to receive the task
        _heli      - Helicopter to board.                                              [OBJECT, defaults to objNull]
+
|p1v=
        _parentTask - Parent task for creation of the DGBT as child task. (optional)    [STRING, defaults to ""]
 
  
    Returns:
+
|p2n= boardingGroup
        Created task ID [STRING]
+
|p2t= group
*/
+
|p2d= group to board ''helicopter''
 
+
|p2v=
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_squadBoard]];
 
  
|p1n=
+
|p3n= helicopter
|p1t=
+
|p3t= object
|p1d=
+
|p3d= the pick-up vehicle
|p1v=
+
|p3v=
  
|p2n=
+
|p4n= parentTask
|p2t=
+
|p4t= string
|p2d=
+
|p4d= if provided, the task will be parent task
|p2v=
+
|p4v= ""
  
|r1t=
+
|r1t= string
|r1d=
+
|r1d= created task id
  
|x1= <code>-</code>
+
|x1= <code>[heliGroup, sogGroup, ch34_1] call [[VN_ms_fnc_dgbt_squadBoard]];</code>
 
}}
 
}}

Latest revision as of 21:11, 25 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): global

Description

Let the squad from current DGBT board the helicopter. Uses VN_ms_fnc_dgbt_generateTaskId.

Syntax

Syntax
[taskedGroup, boardingGroup, helicopter, parentTask] call VN_ms_fnc_dgbt_squadBoard
Parameters
taskedGroup: Group - the group to receive the task
boardingGroup: Group - group to board helicopter
helicopter: Object - the pick-up vehicle
parentTask: String - (Optional, default "") if provided, the task will be parent task
Return value
String - created task id

Examples

Example 1
[heliGroup, sogGroup, ch34_1] call VN_ms_fnc_dgbt_squadBoard;