VN_ms_fnc_dgbt_crateStart

From Savage Game Design Wiki
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 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;