taskCompleted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{HashLinkArma 3: Task Framework" to "{{HashLink|Arma 3: Task Framework")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 46: Line 46:


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]]

Revision as of 19:34, 9 January 2021

Hover & click on the images for description

Description

Description:
Return if task is completed. (state Succeeded, Failed or Canceled)
Groups:
Briefing

Syntax

Syntax:
taskCompleted task
Parameters:
task: Task
Return Value:
Boolean - true if task has been Succeeded, Failed or Canceled

Examples

Example 1:
_task = createSimpleTask ["task_1"]; _done = taskCompleted _task;

Additional Information

See also:
BIS fnc deleteTaskBIS fnc setTaskBIS fnc setTaskLocalBIS fnc sharedObjectivesBIS fnc taskAlwaysVisibleBIS fnc taskCompletedBIS fnc taskCreateBIS fnc taskCurrentBIS fnc taskDescriptionBIS fnc taskDestinationBIS fnc taskExistsBIS fnc taskHintBIS fnc taskParentBIS fnc taskRealBIS fnc taskSetAlwaysVisibleBIS fnc taskSetCurrentBIS fnc taskSetDescriptionBIS fnc taskSetDestinationBIS fnc taskSetStateBIS fnc taskSetTypeBIS fnc taskStateBIS fnc tasksUnitBIS fnc taskTypeBIS fnc taskTypeIconBIS fnc taskVarArma 3: Task FrameworkArma 3: Task Framework - Task 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