taskCustomData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
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


Hover & click on the images for description

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

See also:
setSimpleTaskCustomDatasetSimpleTaskTypetaskTypeTasks Overhaul

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

Bottom Section