BIS fnc taskHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "^ \{\{(Command|Function)" to "{{$1") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Tasks | |gr1= Tasks | ||
| <pre> | | <pre> | ||
Line 41: | Line 41: | ||
* add support for standard tasks | * add support for standard tasks | ||
* randomize the selection of tasks with the same priority | * randomize the selection of tasks with the same priority | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | ||
| <!-- [] call [[BIS_fnc_taskHandler]]; --> | | <!-- [] call [[BIS_fnc_taskHandler]]; --> | ||
|p1 | |p1= | ||
| | | | ||
|x1= <code></code> | |x1= <code></code> | ||
| | | | ||
}} | }} |
Revision as of 00:46, 18 January 2021
Description
- Description:
/******************************************************************************* * * version: 1.0 * name: Task handler * description: automatically sets tasks as current * paramaters: _this select 0: a unit whose tasks will be handled (Array) _this select 1: links to tasks created via MP Framwork with priorities (loewr number means higher priority) * return value: none * example: [ BIS_cooper, [ ["objShaftoe", 1], ["objGorka", 3], ["objNikolayev", 5], ["objLagushina", 5], ["objSmugglers", 5], ["objFindBase", 4], ["objSentries", 3], ["objLeader", 3], ["objDestroyBase", 3], ["objEscortLagushina", 1], ["objRescueCrew", 2], ["objSafehouse", 3], ["objMaksim", 6], ["objEvidence", 7] ] ] call BIS_fnc_taskHandler * TODO: * generalize so it can be used in WF * add support for standard tasks * randomize the selection of tasks with the same priority
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Tasks
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note