taskCustomData: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
<!-- taskCustomData --> | <!-- taskCustomData --> | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.58 | |1.58 | ||
|gr1= Briefing | |gr1= Briefing | ||
| 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. | ||
| '''taskCustomData''' task | | '''taskCustomData''' task | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
|x1= <code>_data = [[taskCustomData]] "someTask";</code> | |x1= <code>_data = [[taskCustomData]] "someTask";</code> | ||
| [[Array]] of string - iconPath, iconText, descriptionText | | [[Array]] of string - iconPath, iconText, descriptionText | ||
| [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] | | [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:27, 18 January 2021
Description
- Description:
- Returns custom data attached to the local task or an empty array if there are no custom data attached.
- Groups:
- Briefing
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