taskCustomData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| (\[\[[a-zA-Z0-9 _]+\]\][^ ]*) \}\}" to "|seealso= ‎$1 }}")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3


|1.58
|version1= 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.
|descr= Returns custom data attached to the local task or an empty array if there are no custom data attached.


|s1= '''taskCustomData''' task
|s1= [[taskCustomData]] task


|p1= task: [[Task]]
|p1= task: [[Task]]
Line 15: Line 15:
|x1= <code>_data = [[taskCustomData]] "someTask";</code>
|x1= <code>_data = [[taskCustomData]] "someTask";</code>


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


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

Revision as of 02:56, 13 June 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