2015-08-08 09:52:23 +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"
|
|
|
|
|
2015-08-08 11:41:25 +00:00
|
|
|
private ["_settingsMenu", "_ctrlComboBox"];
|
|
|
|
disableSerialization;
|
|
|
|
_settingsMenu = uiNamespace getVariable 'ACE_serverSettingsMenu';
|
2015-08-08 09:52:23 +00:00
|
|
|
|
2015-08-08 11:41:25 +00:00
|
|
|
_ctrlComboBox = (_settingsMenu displayCtrl 14);
|
|
|
|
GVAR(currentCategorySelection) = lbCurSel _ctrlComboBox;
|
2015-08-08 09:52:23 +00:00
|
|
|
|
|
|
|
[false] call FUNC(serverSettingsMenuUpdateList);
|