taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)\]\], *\[\[" to "|seealso= $1]] [[")
m (Text replacement - "\|seealso= ([^ ]+)\]\], *\[\[" to "|seealso= $1]] [[")
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 12:50, 1 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 taskSetDescriptionBIS fnc taskSetDestinationBIS fnc taskSetStateBIS fnc taskSetTypeBIS fnc taskStateBIS fnc tasksUnitBIS fnc taskTypeBIS fnc taskTypeIconBIS fnc taskVarArma 3: Task FrameworkArma 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