BIS fnc taskTypeIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (temporary description)
m (page formatting)
Line 1: Line 1:
{{Function|=


{{Function|Comments=
| arma3 |Game=
____________________________________________________________________________________________


| arma3 |Game name=
|1.58|Game Version=


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


|<code>/*
| [type, default] call [[BIS_fnc_taskTypeIcon]] |Syntax=
Author: Jiri Wainar


Description:
|p1= type: [[String]] - Task type |Parameter 1=
Returns path to the icon texture associated with given task type.


Parameters:
|p2= default: [[Config]] - Config path to get default path from, if '''type''' does not exist |Parameter 2=
0: STRING - task type
1: STRING - default path; used in case task type was not found


Returns:
| [[String]] - Path to the task type texture. |Return Value=
STRING - path to the task type texture*/
</code>|DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_taskTypeIcon]]; --> |SYNTAX=
|x1= <code>["attack",[[configFile]] >> "CfgTaskTypes" >> "Run" >> "icon"] [[call]] [[BIS_fnc_taskTypeIcon]];</code>|Example 1=
|p1= |PARAMETER1=
 
| |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |SEEALSO=


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


<h3 style="display:none">Notes</h3>
[[Category:Function Group: Tasks|{{uc:taskHint}}]]
<dl class="command_description">
[[Category:Functions|{{uc:taskHint}}]]
<!-- Note Section BEGIN -->
[[Category:{{Name|arma3}}: Functions|{{uc:taskHint}}]]
 
<!-- 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}}]]

Revision as of 20:29, 11 September 2019

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

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