taskDescription: 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= | ||
| Returns the sub-parts of the task description. The returned Array is in format [Task description, Task title, Task waypoint description]. | | Returns the sub-parts of the task description. The returned Array is in format [Task description, Task title, Task waypoint description]. | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| '''taskDescription''' task |SYNTAX= | | '''taskDescription''' task |SYNTAX= | ||
Line 28: | Line 25: | ||
|x1= <code>_taskDescArray <nowiki>=</nowiki> [[taskDescription]] _task;</code>|EXAMPLE1= | |x1= <code>_taskDescArray <nowiki>=</nowiki> [[taskDescription]] _task;</code>|EXAMPLE1= | ||
| [[setSimpleTaskDescription]], [[createSimpleTask]] |SEEALSO= | | [[setSimpleTaskDescription]], [[createSimpleTask]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 03:48, 17 January 2021
Description
- Description:
- Returns the sub-parts of the task description. The returned Array is in format [Task description, Task title, Task waypoint description].
- Groups:
- Briefing
Syntax
Examples
- Example 1:
_taskDescArray = taskDescription _task;
Additional Information
- See also:
- setSimpleTaskDescriptioncreateSimpleTask
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
- Posted on November 14, 2014 - 19:48 (UTC)
- Tajin
-
Be careful if you want to use this to retrieve the title of a task.
If the task has no description set, then "taskDescription" will only return an array of empty Strings.
Therefor always use setSimpleTaskDescription directly after creating a new task, even if you set the Description to "".