BIS fnc taskTypeIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Tasks(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "[[Arma 3 Task Framework" to "[[Arma 3: Task Framework")
Line 7: Line 7:
|gr1 = Tasks |GROUP1=
|gr1 = Tasks |GROUP1=


| Returns path to the icon texture associated with given task type. {{Informative| See [[Arma 3 Task Framework]] for more information.}}|Description=
| Returns path to the icon texture associated with given task type. {{Informative| See [[Arma 3: Task Framework]] for more information.}}|Description=


| [type, default] call [[BIS_fnc_taskTypeIcon]] |Syntax=
| [type, default] call [[BIS_fnc_taskTypeIcon]] |Syntax=
Line 19: Line 19:
|x1= <code>["attack",[[configFile]] >> "CfgTaskTypes" >> "Run" >> "icon"] [[call]] [[BIS_fnc_taskTypeIcon]];</code>|Example 1=
|x1= <code>["attack",[[configFile]] >> "CfgTaskTypes" >> "Run" >> "icon"] [[call]] [[BIS_fnc_taskTypeIcon]];</code>|Example 1=


| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3 Task Framework]] |See Also=
| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3: Task Framework]] |See Also=
}}
}}



Revision as of 23:46, 31 December 2020

Hover & click on the images for description

Description

Description:
Returns path to the icon texture associated with given task type.
See Arma 3: Task Framework for more information.
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