BIS fnc taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "\|s1= +" to "|s1= ")
Line 9: Line 9:
|descr=  Returns [[true]] if task has been completed. {{Feature|Informative| See [[Arma 3: Task Framework]] for more information.}}
|descr=  Returns [[true]] if task has been completed. {{Feature|Informative| See [[Arma 3: Task Framework]] for more information.}}


|s1= taskID call [[BIS_fnc_taskCompleted]]
|s1= taskID call [[BIS_fnc_taskCompleted]]


|p1= taskID: [[String]] - ID or name of the task
|p1= taskID: [[String]] - ID or name of the task

Revision as of 16:33, 19 June 2021

Hover & click on the images for description

Description

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

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:
Task Functions Arma 3: Task Framework

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