Difference between revisions of "VN ms fnc dgbt generateTaskId"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
+ | |||
+ | |a= | ||
|e= | |e= | ||
Line 10: | Line 11: | ||
|g1= dgbt | |g1= dgbt | ||
− | |d= < | + | |d= Generates a dgbt-prefixed task ID - format <tt>dgbt_t_<round diag_tickTime>_<random 1000></tt>. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |s= [parentTask] call [[VN_ms_fnc_dgbt_generateTaskId]] | |
− | |||
− | + | |p1n= parentTask | |
− | + | |p1t= string | |
− | + | |p1d= if provided, task will be created as a child task to this one | |
− | + | |p1v= "" | |
− | |||
− | |||
− | |||
− | |||
− | |p1n= | ||
− | |p1t= | ||
− | |p1d= | ||
− | |p1v= | ||
|p2n= | |p2n= | ||
Line 38: | Line 25: | ||
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= array |
− | |r1d= | + | |r1d= format [task id, task creation argument] ([generatedId, generatedId] or [generatedId, [generatedId, parentTaskId]]) |
+ | |||
+ | |x1= <code>[] call [[VN_ms_fnc_dgbt_generateTaskId]];</code> | ||
− | | | + | |x2= <code>["theParentTask"] call [[VN_ms_fnc_dgbt_generateTaskId]];</code> |
}} | }} |
Latest revision as of 17:57, 23 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Generates a dgbt-prefixed task ID - format dgbt_t_<round diag_tickTime>_<random 1000>.
Syntax
- Syntax
- [parentTask] call VN_ms_fnc_dgbt_generateTaskId
- Parameters
- parentTask: String - (Optional, default
""
) if provided, task will be created as a child task to this one - Return value
- Array - format [task id, task creation argument] ([generatedId, generatedId] or [generatedId, [generatedId, parentTaskId]])
Examples
- Example 1
[] call VN_ms_fnc_dgbt_generateTaskId;
- Example 2
["theParentTask"] call VN_ms_fnc_dgbt_generateTaskId;