#include "..\script_component.hpp" /* * Author: commy2 * Executed when the filter list box is changed. * Sets new filter list index. * * Arguments: * 0: Filter list box * 1: Filter list index * * Return Value: * None * * Example: * [CONTROL, 5] call ace_inventory_fnc_onLBSelChanged * * Public: No */ disableSerialization; params ["_filter", "_index"]; GVAR(selectedFilterIndex) = _index; // Force update [LINKFUNC(forceItemListUpdate), ctrlParent _filter] call CBA_fnc_execNextFrame;