#include "..\script_component.hpp" /* * Author: commy2, LinkIsGrim * When the channel list box is changed. * * Arguments: * 0: Channel ListBox (idc 103) * 1: Selected Index * * Return Value: * None * * Example: * [CONTROL, 5] call ACE_markers_fnc_onLBSelChangedChannel * * Public: No */ params ["_ctrl", "_index"]; TRACE_2("params",_ctrl,_index); private _enabledChannels = false call FUNC(getEnabledChannels); setCurrentChannel (_enabledChannels select _index);