setSimpleTaskCustomData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^pr ]+) \|x1=" to " |r1=$1 |x1=") |
BrettMayson (talk | contribs) mNo edit summary |
||
(16 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.58 | |||
|1.58 | |||
|gr1= Briefing | |gr1= Briefing | ||
| 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. | |descr= 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 | |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 | ||
Line 19: | Line 18: | ||
|p4= description: [[String]] - text displayed on the task description panel; html format | |p4= description: [[String]] - text displayed on the task description panel; html format | ||
|r1= Nothing | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_task setSimpleTaskCustomData ["\A3\Ui_f\data\IGUI\Cfg\simpleTasks\letters\h_ca.paa", "This is the tooltip", "This is the description"];</sqf> | ||
| [[taskCustomData]] | |seealso= [[taskCustomData]] [[setSimpleTaskType]] [[taskType]] [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] | ||
}} | }} | ||
Latest revision as of 04:11, 27 November 2023
Description
- Description:
- 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.
- 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
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