on_mouse_middle = function;
The function is executed when the middle mouse button is pressed.
Dependent on the key, the number 282 (middle) is
passed as parameter to the function.
Remarks:
Values 282 is
passed as parameter to the function.
Example:
var maus[3];
function maus_pos(test)
{
if(test == 282)
{
maus.x = mouse_cursor.x;
maus.y = mouse_cursor.y;
}
}
on_mouse_middle = maus_pos;
See also:
on_click, on_mouse_left, on_mouse_right, on_mouse_stop, on_close, on_joy, on_f1, on_anykey, on_client, on_server