BIS fnc taskTypeIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.58


| arma3 |= Game name
|gr1= Tasks


|1.00|= Game version
|descr= Returns path to the icon texture associated with given task type. {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}}
____________________________________________________________________________________________


| ''N/A'' |DESCRIPTION=
|s1= [type, default] call [[BIS_fnc_taskTypeIcon]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_taskTypeIcon]]; --> |SYNTAX=
|p1= type: [[String]] - task type
|p1= |PARAMETER1=


| |RETURNVALUE=
|p2= default: [[Config]] - config path to get default path from, if '''type''' does not exist
____________________________________________________________________________________________


|x1= <code></code> |=
|r1= [[String]] - path to the task type texture.
____________________________________________________________________________________________


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


|seealso=  [[Arma 3: Task Framework]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Tasks|{{uc:taskTypeIcon}}]]
[[Category:Functions|{{uc:taskTypeIcon}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:taskTypeIcon}}]]

Latest revision as of 01:24, 2 February 2024

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