Difference between revisions of "VN ms fnc dgbt crateStart"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function" to "Category:TODO {{Function") |
Lou Montana (talk | contribs) (Page filling) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |a= | + | |a= global |
− | |e= | + | |e= global |
|g1= dgbt | |g1= dgbt | ||
− | |d= | + | |d= Starts the crate transport DGBT pickup phase with given parameters. Uses [[VN_ms_fnc_dgbt_generateTaskId]]. |
− | |||
− | |||
− | + | |s= [group, pos, parentTask, boxClass] call [[VN_ms_fnc_dgbt_crateStart]] | |
− | |||
− | + | |p1n= group | |
− | + | |p1t= group | |
− | + | |p1d= task bearer | |
− | + | |p1v= | |
− | |||
− | + | |p2n= pos | |
− | + | |p2t= array | |
− | + | |p2d= box spawn position | |
− | + | |p2v= | |
− | |||
− | |||
− | | | ||
− | | | + | |p3n= parentTask |
− | | | + | |p3t= string |
− | | | + | |p3d= if provided, the task will be parent task |
− | | | + | |p3v= "" |
− | | | + | |p4n= boxClass |
− | | | + | |p4t= string |
− | | | + | |p4d= box classname to be created |
− | | | + | |p4v= "vn_b_ammobox_supply_05" |
− | |r1t= | + | |r1t= array |
− | |r1d= | + | |r1d= [crate, task] or empty array on failure |
− | |x1= <code> | + | |x1= <code>[group player, getMarkerPos "crate_pos", "", "vn_b_ammobox_supply_04"] call [[VN_ms_fnc_dgbt_crateStart]];</code> |
}} | }} |
Latest revision as of 18:15, 23 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Starts the crate transport DGBT pickup phase with given parameters. Uses VN_ms_fnc_dgbt_generateTaskId.
Syntax
- Syntax
- [group, pos, parentTask, boxClass] call VN_ms_fnc_dgbt_crateStart
- Parameters
- group: Group - task bearer
- pos: Array - box spawn position
- parentTask: String - (Optional, default
""
) if provided, the task will be parent task - boxClass: String - (Optional, default
"vn_b_ammobox_supply_05"
) box classname to be created - Return value
- Array - [crate, task] or empty array on failure
Examples
- Example 1
[group player, getMarkerPos "crate_pos", "", "vn_b_ammobox_supply_04"] call VN_ms_fnc_dgbt_crateStart;