setSimpleTaskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
m (template:command argument fix)
Line 12: Line 12:
| task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD] |= Syntax
| task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD] |= Syntax


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


|p2= [description, descriptionShort, descriptionHUD]: [[Array]] |= PARAMETER2
|p2= [description, descriptionShort, descriptionHUD]: [[Array]] |PARAMETER2=  


|p3= description: [[String]] - Task description  |= PARAMETER3
|p3= description: [[String]] - Task description  |PARAMETER3=


|p4= descriptionShort: [[String]] - Task title  |= PARAMETER4
|p4= descriptionShort: [[String]] - Task title  |PARAMETER4=


|p5= descriptionHUD: [[String]] - Task waypoint description  |= PARAMETER5
|p5= descriptionHUD: [[String]] - Task waypoint description  |PARAMETER5=


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|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 10:37, 7 April 2019

Hover & click on the images for description

Description

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

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