setSimpleTaskCustomData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| Set custom data for the task. Tooltip will be drawn in task list on the right side. Description will be drawn in task description panel on the bottom.
| Set custom data for the task. Tooltip will be drawn in task list on the right side. Description will be drawn in task description panel on the bottom.


| task '''setSimpleTaskCustomData''' [IconPath, tooltip, description]
|s1=  task '''setSimpleTaskCustomData''' [IconPath, tooltip, description]


|p1= task: [[Task]] - task the custom data are being added to
|p1= task: [[Task]] - task the custom data are being added to

Revision as of 23:28, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
task setSimpleTaskCustomData [IconPath, tooltip, description]
Parameters:
task: Task - task the custom data are being added to
iconPath: String - icon path
tooltip: String - text displayed next to the icon; max. 3 charactersc
description: String - text displayed on the task description panel; html format
Return Value:
Nothing

Examples

Example 1:
_task setSimpleTaskCustomData ["\A3\Ui_f\data\IGUI\Cfg\simpleTasks\letters\h_ca.paa", "This is the tooltip", "This is the description"];

Additional Information

See also:
See also needed

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