Posted By: sPlKe
So... Mouse wheel? - 07/08/07 15:32
how come there is no mouse wheel function in A6?
is there ANY way to include the mouse wheel?
is there ANY way to include the mouse wheel?
Quote:
mickey.z if I remember right...
Quote:
mickey
Movement of the mouse in pixels (mickey.x, mickey.y) and the mouse wheel in 120 units per notch (mickey.z) within the last frame.
Type:
vector, read-only
Example:
action move_me_by_mouse()
{
mouse_mode = 0;
while (1)
{
my.pan += mickey.x*time;
my.tilt += mickey.y*time;
ent_move(vector(mickey.z*0.1*time,0,0),nullvector);
wait(1);
}
}