setSimpleTaskDescription: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) 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 02:35, 17 January 2021
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