taskResult: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 13: Line 13:
|p1= task: [[Task]]
|p1= task: [[Task]]


| [[Array]] -  [state, result] (see [[setTaskResult]])
|r1= [[Array]] -  [state, result] (see [[setTaskResult]])


|x1= <code>[[taskResult]] ([[player]] [[createSimpleTask]] ["NewTask"]);</code>
|x1= <code>[[taskResult]] ([[player]] [[createSimpleTask]] ["NewTask"]);</code>

Revision as of 13:22, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
Parameters:
task: Task
Return Value:
Array - [state, result] (see setTaskResult)

Examples

Example 1:
taskResult (player createSimpleTask ["NewTask"]);

Additional Information

See also:
setTaskResult

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