BIS fnc taskTypeIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 13: Line 13:
|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


| [[String]] - Path to the task type texture.
|r1=[[String]] - Path to the task type texture.


|x1= <code>["attack",[[configFile]] >> "CfgTaskTypes" >> "Run" >> "icon"] [[call]] [[BIS_fnc_taskTypeIcon]];</code>
|x1= <code>["attack",[[configFile]] >> "CfgTaskTypes" >> "Run" >> "icon"] [[call]] [[BIS_fnc_taskTypeIcon]];</code>

Revision as of 21:34, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Tasks

Syntax

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