BIS fnc taskTypeIcon: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 3/7) |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(34 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.58 | |||
| | |gr1= Tasks | ||
| | |descr= Returns path to the icon texture associated with given task type. {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}} | ||
| | |s1= [type, default] call [[BIS_fnc_taskTypeIcon]] | ||
| | |p1= type: [[String]] - task type | ||
| | |p2= default: [[Config]] - config path to get default path from, if '''type''' does not exist | ||
| | |r1= [[String]] - path to the task type texture. | ||
| | |x1= <sqf>["attack",configFile >> "CfgTaskTypes" >> "Run" >> "icon"] call BIS_fnc_taskTypeIcon;</sqf> | ||
|seealso= [[Arma 3: Task Framework]] | |||
}} | }} | ||
Latest revision as of 01:24, 2 February 2024
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