taskCustomData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
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|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.58|Game Version (number surrounded by NO SPACES)=
|1.58


|gr1= Briefing |GROUP1=
|gr1= Briefing


| 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.


| '''taskCustomData''' task |SYNTAX=
| '''taskCustomData''' task


|p1= task: [[Task]] |PARAMETER1=
|p1= task: [[Task]]


|x1= <code>_data = [[taskCustomData]] "someTask";</code> |Example 1=
|x1= <code>_data = [[taskCustomData]] "someTask";</code>


| [[Array]] of string - iconPath, iconText, descriptionText |RETURNVALUE=
| [[Array]] of string - iconPath, iconText, descriptionText




| [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] |SEEALSO=
| [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:27, 18 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