2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-12-10 14:32:31 +00:00
|
|
|
/*
|
2023-12-31 02:17:22 +00:00
|
|
|
* Author: commy2, LinkIsGrim, Avokadomos
|
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-12-31 13:27:43 +00:00
|
|
|
setCurrentChannel (parseNumber (_ctrl lbData _index));
|