taskCustomData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
<!-- taskCustomData --> | <!-- taskCustomData --> | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= Briefing |GROUP1= | |gr1= Briefing |GROUP1= | ||
| Returns custom data attached to the local task or an empty array if there are no custom data attached. |DESCRIPTION= | | Returns custom data attached to the local task or an empty array if there are no custom data attached. |DESCRIPTION= | ||
| '''taskCustomData''' task |SYNTAX= | | '''taskCustomData''' task |SYNTAX= | ||
Line 21: | Line 18: | ||
| [[Array]] of string - iconPath, iconText, descriptionText |RETURNVALUE= | | [[Array]] of string - iconPath, iconText, descriptionText |RETURNVALUE= | ||
| [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] |SEEALSO= | | [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 03:59, 17 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