#include "..\script_component.hpp" /* * Author: commy2 * Handles mouse button press. * * Arguments: * 0: Not used * 1: Args * - 0: Not used * - 1: Mouse button * - 2: Mouse X position * - 3: Mouse Y position * * Return Value: * None * * Public: No */ params ["", "_args"]; _args params ["", "_buttonPressed", "_xPos", "_yPos"]; GVAR(mouseButtonState) set [_buttonPressed, [_xPos, _yPos]];