taskCompleted: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game name=" to "|Game name= |gr1= Briefing |GROUP1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(66 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 | ||
| Return if task is completed. (state Succeeded, Failed or Canceled) | |descr= Return if task is completed. (state Succeeded, Failed or Canceled) | ||
| | |s1= [[taskCompleted]] task | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
| | |r1= [[Boolean]] - [[true]] if task has been Succeeded, Failed or Canceled | ||
| | |x1= <sqf> | ||
_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