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.
24 lines
634 B
Plaintext
24 lines
634 B
Plaintext
/**
|
|
* fn_setRadialMenuName_gui.sqf
|
|
* @Descr: N/A
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: []
|
|
* @Return:
|
|
* @PublicAPI: false
|
|
*/
|
|
|
|
private ["_menuName", "_buttonName", "_display", "_countOf"];
|
|
_menuName = [_this, 0, "Main Menu",[""]] call BIS_fnc_Param;
|
|
ctrlSetText [1, _menuName];
|
|
|
|
if (count CSE_RADIAL_SUB_MENU_GUI > 1) then {
|
|
_countOf = (count CSE_RADIAL_SUB_MENU_GUI) - 2;
|
|
_buttonName = "Return to " + ((CSE_RADIAL_SUB_MENU_GUI select _countOf) select 1);
|
|
} else {
|
|
_buttonName = "Close Menu";
|
|
};
|
|
|
|
disableSerialization;
|
|
_display = uiNamespace getvariable "CSE_RADIAL_MENU";
|
|
(_display displayCtrl 2315) ctrlSetTooltip _buttonName; |