taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - " \|seealso *= *([^ ]*)\[\[BIS fnc ([a-zA-Z0-9_]+)\]\]([^ ]*)" to " |seealso= $1BIS_fnc_$2$3")
Line 26: Line 26:
_done = taskCompleted _task;</sqf>
_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]] {{HashLink|Arma 3: Task Framework#Task Overhaul}}
|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]] {{HashLink|Arma 3: Task Framework#Task Overhaul}}
}}
}}

Revision as of 19:01, 13 July 2022

Hover & click on the images for description

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:
_task = createSimpleTask ["task_1"]; _done = taskCompleted _task;

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