BIS fnc taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns [[true]] if task has been completed. |= 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 |= Parameter 1


| |= Return value
| [[Boolean]] - Returns [[true]] if completed, otherwise [[false]]|= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_completed = "task_1" [[call]] '''BIS_fnc_taskCompleted''';</code> |= example 1
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_setTask]], [[Arma_3_Task_Framework|Task Framework]], [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |= See also
 
}}
}}



Revision as of 10:35, 11 May 2018

Hover & click on the images for description

Description

Description:
Returns true if task has been completed.
Execution:
call
Groups:
Uncategorised

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

See also:
BIS_fnc_setTaskTask FrameworkTasks 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