taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (changed example)
Line 1: Line 1:
{{Command|Comments=
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |= Game name


|1.00|Game version=
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return if task is completed. (state Succeeded, Failed or Canceled) |DESCRIPTION=
| Return if task is completed. (state Succeeded, Failed or Canceled) |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''taskCompleted''' task |SYNTAX=
| '''taskCompleted''' task |= Syntax


|p1= task: [[Task]] |PARAMETER1=
|p1= task: [[Task]] |= PARAMETER1  


|p2= |PARAMETER2=
|p2= |= PARAMETER2  


|p3= |PARAMETER3=
|p3= |= PARAMETER3  


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




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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 Tasks 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]],[[Arma 3 Tasks Overhaul]] |= SEEALSO  


|  |MPBEHAVIOUR=
|  |= MPBEHAVIOUR  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 13:27, 17 September 2019