ACE3/addons/optionsmenu/functions/fnc_onServerCategorySelectChanged.sqf

26 lines
497 B
Plaintext
Raw Normal View History

/*
* 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
disableSerialization;
private _settingsMenu = uiNamespace getVariable 'ACE_serverSettingsMenu';
private _ctrlComboBox = (_settingsMenu displayCtrl 14);
2015-08-08 11:41:25 +00:00
GVAR(currentCategorySelection) = lbCurSel _ctrlComboBox;
2015-08-11 09:15:55 +00:00
[true] call FUNC(serverSettingsMenuUpdateList);