taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 13: Line 13:
|p1= task: [[Task]]
|p1= task: [[Task]]


| [[Boolean]] - [[true]] if task has been Succeeded, Failed or Canceled
|r1= [[Boolean]] - [[true]] if task has been Succeeded, Failed or Canceled


|x1= <code>_task = [[createSimpleTask]] ["task_1"];   
|x1= <code>_task = [[createSimpleTask]] ["task_1"];   

Revision as of 14:21, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
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:
See also needed

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