Difference between revisions of "BIS fnc taskCompleted"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (see also, note and locality)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
+
{{Function|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| arma3 |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 +
|arg= global|Multiplayer Arguments=
 +
 
 +
|eff= global|Multiplayer Effects=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|  Returns [[true]] if task has been completed. |= Description
+
|  Returns [[true]] if task has been completed. {{Informative| See [[Arma 3 Task Framework]] for more information.}} |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| taskID call '''BIS_fnc_taskCompleted''' |= Syntax
+
| taskID call '''BIS_fnc_taskCompleted''' |SYNTAX=
  
|p1= taskID: [[String]] - ID or name of the task |= Parameter 1
+
|p1= taskID: [[String]] - ID or name of the task |PARAMETER1=
  
| [[Boolean]] - Returns [[true]] if completed, otherwise [[false]]|= Return value
+
| [[Boolean]] - Returns [[true]] if completed, otherwise [[false]]|RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>_completed = "task_1" [[call]] '''BIS_fnc_taskCompleted''';</code> |= example 1
+
|x1= <code>_completed = "task_1" [[call]] '''BIS_fnc_taskCompleted''';</code> |EXAMPLE1=
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[BIS fnc deleteTask]],[[BIS fnc setTask]],[[BIS fnc setTaskLocal]],[[BIS fnc sharedObjectives]],[[BIS fnc taskAlwaysVisible]],[[BIS fnc taskChildren]],[[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]] |= See also
+
| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3 Task Framework]] |SEEALSO=
 
}}
 
}}
  

Latest revision as of 20:50, 9 September 2019

Introduced with Arma 3 version1.00
  Arguments of this scripting function don't have to be local to the client the function is executed onEffects of this scripting function are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Returns true if task has been completed.
See Arma 3 Task Framework for more information.

Syntax

Syntax:
taskID call BIS_fnc_taskCompleted
Parameters:
taskID: String - ID or name of the task
Return Value:
Boolean - Returns true if completed, otherwise false

Examples

Example 1:
_completed = "task_1" call BIS_fnc_taskCompleted;

Additional Information

Execution:
call
Multiplayer:
-
See also:
Task Functions Arma 3 Task Framework

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section