Arma 3 Scripting

taskDescription

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

Description

Returns the sub-parts of the task description.

Syntax

taskDescription task

Parameters:

Returns: Array with [description, title, waypoint]

Examples

Example 1

_taskDescArray = taskDescription _task;

See also

setSimpleTaskDescription · createSimpleTask

Community notes

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.
Therefore always use setSimpleTaskDescription directly after creating a new task, even if you set the Description to "".