mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1ed27288e8
* Fix logic error when selecting channel * remove lookup * Update fnc_onLBSelChangedChannel.sqf --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
23 lines
450 B
Plaintext
23 lines
450 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: commy2, LinkIsGrim, Avokadomos
|
|
* 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);
|
|
|
|
setCurrentChannel (parseNumber (_ctrl lbData _index));
|