2015-08-07 19:14:45 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
|
|
|
* Changes which category is selected
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [] call ACE_optionsmenu_fnc_onCategorySelectChanged
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
disableSerialization;
|
2016-09-04 14:44:22 +00:00
|
|
|
private _settingsMenu = uiNamespace getVariable 'ACE_settingsMenu';
|
2015-08-07 19:14:45 +00:00
|
|
|
|
2016-09-04 14:44:22 +00:00
|
|
|
private _ctrlComboBox = (_settingsMenu displayCtrl 14);
|
2016-02-28 00:06:02 +00:00
|
|
|
GVAR(currentCategorySelection) = _ctrlComboBox lbValue (lbCurSel _ctrlComboBox);
|
2015-08-07 19:14:45 +00:00
|
|
|
|
2015-08-10 22:19:30 +00:00
|
|
|
[true] call FUNC(settingsMenuUpdateList);
|