BIS fnc taskTypeIcon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 5: | Line 5: | ||
|gr1= Tasks | |gr1= Tasks | ||
| Returns path to the icon texture associated with given task type. {{Feature|Informative| See [[Arma 3: Task Framework]] for more information.}} | |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]] | |s1=[type, default] call [[BIS_fnc_taskTypeIcon]] |
Revision as of 21:53, 13 June 2021
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:
["attack",configFile >> "CfgTaskTypes" >> "Run" >> "icon"] call BIS_fnc_taskTypeIcon;
Additional Information
- See also:
- Task Functions 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