taskCustomData: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (fix example)
 
(5 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|p1= task: [[Task]]
|p1= task: [[Task]]


|x1= <sqf>_data = taskCustomData "someTask";</sqf>
|r1= [[Array]] of string - iconPath, iconText, descriptionText


|r1= [[Array]] of string - iconPath, iconText, descriptionText
|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