2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-12-10 14:32:31 +00:00
|
|
|
/*
|
2023-09-13 03:05:42 +00:00
|
|
|
* Author: commy2, LinkIsGrim
|
2015-12-10 14:32:31 +00:00
|
|
|
* When the channel list box is changed.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Channel ListBox (idc 103) <CONTROL>
|
|
|
|
* 1: Selected Index <NUMBER>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [CONTROL, 5] call ACE_markers_fnc_onLBSelChangedChannel
|
|
|
|
*
|
2015-12-10 14:32:31 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
params ["_ctrl", "_index"];
|
|
|
|
TRACE_2("params",_ctrl,_index);
|
|
|
|
|
2023-09-13 03:05:42 +00:00
|
|
|
private _enabledChannels = false call FUNC(getEnabledChannels);
|
2015-12-10 14:32:31 +00:00
|
|
|
|
2023-09-13 03:05:42 +00:00
|
|
|
setCurrentChannel (_enabledChannels select _index);
|