taskDescription: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 15: | Line 15: | ||
|gr1= Briefing | |gr1= Briefing | ||
|descr= Returns the sub-parts of the task description | |descr= Returns the sub-parts of the task description. | ||
|s1= [[taskDescription]] task | |s1= [[taskDescription]] task | ||
| Line 21: | Line 21: | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
|r1= [[Array]] | |r1= [[Array]] with [description, title, waypoint] | ||
* description: [[String]] | |||
* title: [[String]] | |||
* waypoint | |||
|x1= <sqf>_taskDescArray = taskDescription _task;</sqf> | |x1= <sqf>_taskDescArray = taskDescription _task;</sqf> | ||
Latest revision as of 11:21, 1 January 2026
Description
- Description:
- Returns the sub-parts of the task description.
- Groups:
- Briefing
Syntax
- Syntax:
- taskDescription task
- Parameters:
- task: Task
- Return Value:
- Array with [description, title, waypoint]
Examples
- Example 1:
Additional Information
- See also:
- setSimpleTaskDescription createSimpleTask
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
- Posted on Nov 14, 2014 - 19:48 (UTC)
-
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.
Therefore always use setSimpleTaskDescription directly after creating a new task, even if you set the Description to "".