taskState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
Line 21: Line 21:
|p1= task: [[Task]] - the task you want to query
|p1= task: [[Task]] - the task you want to query


| [[String]] - current state of task
|r1= [[String]] - current state of task


|x1= <code>tskSomeTask <nowiki>=</nowiki> player createSimpleTask ["NewTask"];
|x1= <code>tskSomeTask <nowiki>=</nowiki> player createSimpleTask ["NewTask"];

Revision as of 14:34, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
Parameters:
task: Task - the task you want to query
Return Value:
String - current state of task

Examples

Example 1:
tskSomeTask = player createSimpleTask ["NewTask"]; hint format["Taskstate: %1", taskState tskSomeTask];

Additional Information

See also:
TaskscreateSimpleTaskremoveSimpleTasksetSimpleTaskDescriptionsetSimpleTaskDestinationsetTaskResultsetTaskState

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