ACE3/TO_MERGE/cse/gui/radialmenu/fn_isOpenSecondRing_gui.sqf
Thomas Kooi db6f30fcc9 Added cse_gui source
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.
2015-01-12 23:23:51 +01:00

35 lines
1.0 KiB
Plaintext

/**
* fn_isOpenSecondRing_gui.sqf
* @Descr: N/A
* @Author: Glowbal
*
* @Arguments: []
* @Return:
* @PublicAPI: false
*/
#define OPTION_BOTTOM_LEFT_ONE 300
#define OPTION_BOTTOM_LEFT_TWO 301
#define OPTION_BOTTOM_LEFT_THREE 302
#define OPTION_TOP_LEFT_ONE 303
#define OPTION_TOP_LEFT_TWO 304
#define OPTION_TOP_LEFT_THREE 305
#define OPTION_TOP_RIGHT_ONE 306
#define OPTION_TOP_RIGHT_TWO 307
#define OPTION_TOP_RIGHT_THREE 308
#define OPTION_BOTTOM_RIGHT_ONE 309
#define OPTION_BOTTOM_RIGHT_TWO 310
#define OPTION_BOTTOM_RIGHT_THREE 311
private ["_return", "_availableOptionSpots"];
_availableOptionSpots = [OPTION_BOTTOM_LEFT_ONE, OPTION_BOTTOM_LEFT_TWO, OPTION_BOTTOM_LEFT_THREE, OPTION_TOP_LEFT_ONE, OPTION_TOP_LEFT_TWO, OPTION_TOP_LEFT_THREE, OPTION_BOTTOM_RIGHT_ONE, OPTION_BOTTOM_RIGHT_TWO, OPTION_BOTTOM_RIGHT_THREE, OPTION_TOP_RIGHT_ONE, OPTION_TOP_RIGHT_TWO, OPTION_TOP_RIGHT_THREE];
_return = false;
{
if (ctrlEnabled _x) exitwith {
_return = true;
};
}foreach _availableOptionSpots;
_return