Difference between revisions of "VN ms fnc dgbt crateDeliver"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
(Page filling)
 
(5 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= Starts the crate transport DGBT delivery phase with given parameters. Uses [[VN_ms_fnc_dgbt_generateTaskId]].
    Author: Wyqer, veteran29
 
    Date: 2019-07-13
 
 
 
    Description:
 
        Starts the crate transport DGBT delivery phase with given parameters.
 
  
    Parameter(s):
+
|s= [group, pos, parentTask] call [[VN_ms_fnc_dgbt_crateDeliver]]
        _grp        - Group to create the task for.                                    [GROUP, defaults to grpNull]
 
        _pos        - Position where the crate should be delivered.                    [ARRAY, defaults to [0, 0, 0]]
 
        _parentTask - Parent task for creation of the DGBT as child task. (optional)    [STRING, defaults to ""]
 
  
    Returns:
+
|p1n= group
        Created task ID [STRING]
+
|p1t= group
*/
+
|p1d= group that will receive the delivery task
 
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_crateDeliver]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= pos
|p2t=
+
|p2t= array
|p2d=
+
|p2d= crate delivery position
 
|p2v=
 
|p2v=
  
|r1t=
+
|p3n= parentTask
|r1d=
+
|p3t= string
 +
|p3d= if provided, the task will be created as a child to ''parentTask''
 +
|p3v= ""
 +
 
 +
|r1t= string
 +
|r1d= created task ID
  
|x1= <code>-</code>
+
|x1= <code>[sogAirTeam, getMarkerPos "SOG_delivery", ""] call [[VN_ms_fnc_dgbt_crateDeliver]];</code>
 
}}
 
}}

Latest revision as of 17:44, 23 February 2021

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

Description

Starts the crate transport DGBT delivery phase with given parameters. Uses VN_ms_fnc_dgbt_generateTaskId.

Syntax

Syntax
[group, pos, parentTask] call VN_ms_fnc_dgbt_crateDeliver
Parameters
group: Group - group that will receive the delivery task
pos: Array - crate delivery position
parentTask: String - (Optional, default "") if provided, the task will be created as a child to parentTask
Return value
String - created task ID

Examples

Example 1
[sogAirTeam, getMarkerPos "SOG_delivery", ""] call VN_ms_fnc_dgbt_crateDeliver;