mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
db6f30fcc9
Does not include the Icon pack. When using the UI it may throw up some missing .paa file errors. Replacements will need to be found if we want to use those.
20 lines
484 B
Plaintext
20 lines
484 B
Plaintext
/**
|
|
* fn_getIcon_f.sqf
|
|
* @Descr: Grab an icon from the CSE Icon collection
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: [name STRING]
|
|
* @Return: STRING Path to icon. Returns empty path if icon does not exist
|
|
* @PublicAPI: true
|
|
*/
|
|
|
|
#define CSE_ICON_PATH "cse\cse_gui\radialmenu\data\icons\"
|
|
|
|
private ["_iconName","_return"];
|
|
_iconName = [_this, 0, "",[""]] call bis_fnc_param;
|
|
if (_iconName == "") then {
|
|
_iconName = "icon_cse";
|
|
};
|
|
_return = CSE_ICON_PATH + _iconName + ".paa";
|
|
|
|
_return |