taskCompleted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(46 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|game2= arma2oa | |||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Briefing | |gr1= Briefing | ||
| | |descr= Return if task is completed. (state Succeeded, Failed or Canceled) | ||
|s1= [[taskCompleted]] task | |||
|s1= | |||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
Line 15: | Line 23: | ||
|r1= [[Boolean]] - [[true]] if task has been Succeeded, Failed or Canceled | |r1= [[Boolean]] - [[true]] if task has been Succeeded, Failed or Canceled | ||
|x1= < | |x1= <sqf> | ||
_done = | _task = createSimpleTask ["task_1"]; | ||
_done = taskCompleted _task; | |||
</sqf> | |||
| [[ | |seealso= [[BIS_fnc_deleteTask]] [[BIS_fnc_setTask]] [[BIS_fnc_setTaskLocal]] [[BIS_fnc_sharedObjectives]] [[BIS_fnc_taskAlwaysVisible]] [[BIS_fnc_taskCompleted]] [[BIS_fnc_taskCreate]] [[BIS_fnc_taskCurrent]] [[BIS_fnc_taskDescription]] [[BIS_fnc_taskDestination]] [[BIS_fnc_taskExists]] [[BIS_fnc_taskHint]] [[BIS_fnc_taskParent]] [[BIS_fnc_taskReal]] [[BIS_fnc_taskSetAlwaysVisible]] [[BIS_fnc_taskSetCurrent]] [[BIS_fnc_taskSetDescription]] [[BIS_fnc_taskSetDestination]] [[BIS_fnc_taskSetState]] [[BIS_fnc_taskSetType]] [[BIS_fnc_taskState]] [[BIS_fnc_tasksUnit]] [[BIS_fnc_taskType]] [[BIS_fnc_taskTypeIcon]] [[BIS_fnc_taskVar]] [[Arma 3: Task Framework]] {{Link|Arma 3: Task Framework#Task Overhaul}} | ||
}} | }} | ||
Latest revision as of 12:57, 12 March 2024
Description
- Description:
- Return if task is completed. (state Succeeded, Failed or Canceled)
- Groups:
- Briefing
Syntax
- Syntax:
- taskCompleted task
- Parameters:
- task: Task
- Return Value:
- Boolean - true if task has been Succeeded, Failed or Canceled
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_deleteTask BIS_fnc_setTask BIS_fnc_setTaskLocal BIS_fnc_sharedObjectives BIS_fnc_taskAlwaysVisible BIS_fnc_taskCompleted BIS_fnc_taskCreate BIS_fnc_taskCurrent BIS_fnc_taskDescription BIS_fnc_taskDestination BIS_fnc_taskExists BIS_fnc_taskHint BIS_fnc_taskParent BIS_fnc_taskReal BIS_fnc_taskSetAlwaysVisible BIS_fnc_taskSetCurrent BIS_fnc_taskSetDescription BIS_fnc_taskSetDestination BIS_fnc_taskSetState BIS_fnc_taskSetType BIS_fnc_taskState BIS_fnc_tasksUnit BIS_fnc_taskType BIS_fnc_taskTypeIcon BIS_fnc_taskVar Arma 3: Task Framework Arma 3: Task Framework - Task Overhaul
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