taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by R3vo (talk) to last revision by killzone_kid)
Tag: Rollback
(Fix formatting)
Line 21: Line 21:




|x1= <code>_done = [[taskCompleted]] _someTask;</code>|EXAMPLE1=


|x1= <code>_task = [[createSimpleTask]] ["task_1"]; 
_done = [[taskCompleted]] _task;</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:42, 17 September 2019

Hover & click on the images for description

Description

Description:
Return if task is completed. (state Succeeded, Failed or Canceled)
Groups:
Uncategorised

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 deleteTaskBIS fnc setTaskBIS fnc setTaskLocalBIS fnc sharedObjectivesBIS fnc taskAlwaysVisibleBIS fnc taskCompletedBIS fnc taskCreateBIS fnc taskCurrentBIS fnc taskDescriptionBIS fnc taskDestinationBIS fnc taskExistsBIS fnc taskHintBIS fnc taskParentBIS fnc taskRealBIS fnc taskSetAlwaysVisibleBIS fnc taskSetCurrentBIS fnc taskSetDescriptionBIS fnc taskSetDestinationBIS fnc taskSetStateBIS fnc taskSetTypeBIS fnc taskStateBIS fnc tasksUnitBIS fnc taskTypeBIS fnc taskTypeIconBIS fnc taskVarArma 3 Task FrameworkArma 3 Tasks 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

Notes

Bottom Section