taskCustomData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:50, 7 April 2019


-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.58|1.58]]
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:
Uncategorised

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

[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | TASKCUSTOMDATA]][[ Category: A3: Scripting Commands | TASKCUSTOMDATA]]

Bottom Section