BIS fnc taskTypeIcon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2") |
||
Line 14: | Line 14: | ||
|p2= default: [[Config]] - config path to get default path from, if '''type''' does not exist | |p2= default: [[Config]] - config path to get default path from, if '''type''' does not exist | ||
|r1= [[String]] - | |r1= [[String]] - path to the task type texture. | ||
|x1= <sqf>["attack",configFile >> "CfgTaskTypes" >> "Run" >> "icon"] call BIS_fnc_taskTypeIcon;</sqf> | |x1= <sqf>["attack",configFile >> "CfgTaskTypes" >> "Run" >> "icon"] call BIS_fnc_taskTypeIcon;</sqf> |
Revision as of 16:45, 8 November 2023
Description
- Description:
- Returns path to the icon texture associated with given task type.
- Execution:
- call
- Groups:
- Tasks
Syntax
- Syntax:
- [type, default] call BIS_fnc_taskTypeIcon
- Parameters:
- type: String - Task type
- default: Config - config path to get default path from, if type does not exist
- Return Value:
- String - path to the task type texture.
Examples
- Example 1:
Additional Information
- See also:
- Arma 3: Task Framework
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