taskCustomData: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
m (fix example)
 
Line 14: Line 14:
|r1= [[Array]] of string - iconPath, iconText, descriptionText
|r1= [[Array]] of string - iconPath, iconText, descriptionText


|x1= <sqf>_data = taskCustomData "someTask";</sqf>
|x1= <sqf>_data = taskCustomData someTask;</sqf>


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

Latest revision as of 23:46, 7 October 2025

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:
setSimpleTaskCustomData setSimpleTaskType taskType Tasks 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