taskDescription: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
No edit summary |
||
Line 45: | Line 45: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on November 14, 2014 - 19:48 (UTC)</dd> | |||
<dt class="note">[[User:Tajin|Tajin]]</dt> | |||
<dd class="note"> | |||
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. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 20:48, 14 November 2014
Description
- Description:
- Returns the sub-parts of the task description.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Array = taskDescription task
- Parameters:
- task: Task
- Return Value:
- Array: [Task description, Task title, Task waypoint description]
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.