BIS fnc taskTypeIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 7: Line 7:
| Returns path to the icon texture associated with given task type. {{Feature|Informative| See [[Arma 3: Task Framework]] for more information.}}
| Returns path to the icon texture associated with given task type. {{Feature|Informative| See [[Arma 3: Task Framework]] for more information.}}


| [type, default] call [[BIS_fnc_taskTypeIcon]]
|s1=[type, default] call [[BIS_fnc_taskTypeIcon]]


|p1= type: [[String]] - Task type
|p1= type: [[String]] - Task type

Revision as of 16:56, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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