mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
25 lines
469 B
Plaintext
25 lines
469 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: commy2
|
|
* When the channel list box is changed.
|
|
*
|
|
* Arguments:
|
|
* 0: Channel ListBox (idc 103) <CONTROL>
|
|
* 1: Selected Index <NUMBER>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [CONTROL, 5] call ACE_markers_fnc_onLBSelChangedChannel
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_ctrl", "_index"];
|
|
TRACE_2("params",_ctrl,_index);
|
|
|
|
private _channelName = _ctrl lbText _index;
|
|
|
|
setCurrentChannel (CHANNEL_NAMES find _channelName);
|