setTaskResult: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
|version2= 1.50


|gr1= Briefing |GROUP1=
|game3= tkoh
|version3= 1.00


| Set a result of the task. |DESCRIPTION=
|game4= arma3
|version4= 0.50


| task '''setTaskResult''' [state,result] |SYNTAX=
|gr1= Briefing


|p1= task: [[Task]]  |PARAMETER1=
|descr= Set a result of the task.


|p2= [state,result]: [[Array]]  |PARAMETER2=
|s1= task [[setTaskResult]] [state,result]


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


| [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDescription]], [[setSimpleTaskDestination]], [[setTaskState]], [[taskState]] |SEEALSO=
|p21= state: [[String]]
|p22= result: [[Unknown]]


| |MPBEHAVIOUR=  
|r1= [[Nothing]]
 
|seealso= [[Tasks]] [[createSimpleTask]] [[removeSimpleTask]] [[setSimpleTaskDescription]] [[setSimpleTaskDestination]] [[setTaskState]] [[taskState]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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