setTaskResult: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing " to "|r1= Nothing ")
mNo edit summary
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2  
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Briefing
|gr1= Briefing


| Set a result of the task.
|descr= Set a result of the task.


| task '''setTaskResult''' [state,result]
|s1= task [[setTaskResult]] [state,result]


|p1= task: [[Task]]
|p1= task: [[Task]]


|p2= [state,result]: [[Array]]
|p21= state: [[String]]
|p22= result: [[Unknown]]


|r1= [[Nothing]]
|r1= [[Nothing]]


|seealso= [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDescription]], [[setSimpleTaskDestination]], [[setTaskState]], [[taskState]]
|seealso= [[Tasks]] [[createSimpleTask]] [[removeSimpleTask]] [[setSimpleTaskDescription]] [[setSimpleTaskDestination]] [[setTaskState]] [[taskState]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 10:50, 27 November 2023

Hover & click on the images for description

Description

Description:
Set a result of the task.
Groups:
Briefing

Syntax

Syntax:
task setTaskResult [state,result]
Parameters:
task: Task
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
Tasks createSimpleTask removeSimpleTask setSimpleTaskDescription setSimpleTaskDestination setTaskState taskState

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