taskCustomData: Difference between revisions
Jump to navigation
Jump to search
m (format) |
m (example) |
||
Line 16: | Line 16: | ||
|p1= task: [[Task]] |= Parameter 1 | |p1= task: [[Task]] |= Parameter 1 | ||
|x1= <code>_data = [[taskCustomData]] "someTask";</code> |Example 1= | |||
| [[Array]] of string - iconPath, iconText, descriptionText |= Return Value | | [[Array]] of string - iconPath, iconText, descriptionText |= Return Value |
Revision as of 15:23, 8 June 2018
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]]