Difference between revisions of "BIS fnc taskCompleted"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (see also, note and locality)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Function|Comments=
 +
____________________________________________________________________________________________
  
{{Function|= Comments
+
| arma3 |Game name=
____________________________________________________________________________________________
 
  
| arma3 |= Game name
+
|1.00|Game version=
 +
|arg= global|Multiplayer Arguments=
  
|1.00|= Game version
+
|eff= global|Multiplayer Effects=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <pre>/*
+
| Returns [[true]] if task has been completed. {{Informative| See [[Arma 3 Task Framework]] for more information.}} |DESCRIPTION=
 
Description:
 
Return if a task has been completed.
 
 
Parameters:
 
0: STRING - Task name
 
 
Returns:
 
BOOL - True if the task has been completed, false if not.
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <!-- [] call [[BIS_fnc_taskCompleted]]; --> |= Syntax
+
| taskID call '''BIS_fnc_taskCompleted''' |SYNTAX=
  
|p1= |= Parameter 1
+
|p1= taskID: [[String]] - ID or name of the task |PARAMETER1=
  
| |= Return value
+
| [[Boolean]] - Returns [[true]] if completed, otherwise [[false]]|RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code></code> |=  
+
|x1= <code>_completed = "task_1" [[call]] '''BIS_fnc_taskCompleted''';</code> |EXAMPLE1=
 +
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= 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 version 1.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