taskCustomData: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns custom data attached to the local task or an empty array if there are no custom data attached. |= | | Returns custom data attached to the local task or an empty array if there are no custom data attached. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''taskCustomData''' task |= | | '''taskCustomData''' task |SYNTAX= | ||
|p1= task: [[Task]] |= | |p1= task: [[Task]] |PARAMETER1= | ||
|x1= <code>_data = [[taskCustomData]] "someTask";</code> |Example 1= | |x1= <code>_data = [[taskCustomData]] "someTask";</code> |Example 1= | ||
| [[Array]] of string - iconPath, iconText, descriptionText |= | | [[Array]] of string - iconPath, iconText, descriptionText |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 14:50, 7 April 2019
Description
- Description:
- Returns custom data attached to the local task or an empty array if there are no custom data attached.
- Groups:
- Uncategorised
Syntax
- Syntax:
- taskCustomData task
- Parameters:
- task: Task
- Return Value:
- Array of string - iconPath, iconText, descriptionText
Examples
- Example 1:
_data = taskCustomData "someTask";
Additional Information
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
[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | TASKCUSTOMDATA]][[ Category: A3: Scripting Commands | TASKCUSTOMDATA]]