setSimpleTaskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 9: Line 8:


|1.00|Game version=
|1.00|Game version=
____________________________________________________________________________________________


| Attach descriptions to the simple task.  |DESCRIPTION=
| Attach descriptions to the simple task.  |DESCRIPTION=
____________________________________________________________________________________________


| task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD] |SYNTAX=
| task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD] |SYNTAX=
Line 31: Line 28:
|x1= <code>mytask [[setSimpleTaskDescription]] ["Today you have to kill Spongebob","Kill Spongebob","Here he is!"];</code>|EXAMPLE1=  
|x1= <code>mytask [[setSimpleTaskDescription]] ["Today you have to kill Spongebob","Kill Spongebob","Here he is!"];</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[taskDescription]], [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDestination]], [[setTaskState]], [[setTaskResult]], [[taskState]] |SEEALSO=  
| [[taskDescription]], [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDestination]], [[setTaskState]], [[setTaskResult]], [[taskState]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:35, 17 January 2021

Hover & click on the images for description

Description

Description:
Attach descriptions to the simple task.
Groups:
Briefing

Syntax

Syntax:
task setSimpleTaskDescription [description, descriptionShort, descriptionHUD]
Parameters:
task: Task
[description, descriptionShort, descriptionHUD]: Array
description: String - Task description
descriptionShort: String - Task title
descriptionHUD: String - Task waypoint description
Return Value:
Nothing

Examples

Example 1:
mytask setSimpleTaskDescription ["Today you have to kill Spongebob","Kill Spongebob","Here he is!"];

Additional Information

See also:
taskDescriptionTaskscreateSimpleTaskremoveSimpleTasksetSimpleTaskDestinationsetTaskStatesetTaskResulttaskState

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