Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Mousewheel ?!?! (https://forums.graalonline.com/forums/showthread.php?t=49371)

EsCanavi 11-29-2003 12:30 PM

Mousewheel ?!?!
 
Yeah... i was wondering it there a command mousewheelup and mousewheeldown or something like that i know there mousewheeldelta but it do samething both side =P

Loriel 11-29-2003 01:32 PM

mousewheeldelta gives you the total movement of the wheel, so you can do if (mousewheeldelta < 0) for moving down, and if (mousewheeldelta > 0) for moving up. Or the other way around, not sure.

EsCanavi 11-29-2003 01:38 PM

okay thank lot gonna try this =)


..:Edit]:..
works thank =)

xManiamaNx 11-29-2003 05:33 PM

The mousewhell, when pushed down like a normal mouse button, is considered the middle mouse button in GScript.

KainDaMan 11-30-2003 01:20 AM

Quote:

Originally posted by xManiamaNx
The mousewhell, when pushed down like a normal mouse button, is considered the middle mouse button in GScript.
Because that's essentially what it is... and loriel is correct about mousewheeledelta. it is a variable of the mousewheel usage in the last .05 seconds

EsCanavi 12-03-2003 04:15 AM

Quote:

Originally posted by xManiamaNx
The mousewhell, when pushed down like a normal mouse button, is considered the middle mouse button in GScript.

1 i was asking on how work mousewheel
2 not everyone can push their mousewheel 0.o like ! everyone have a mousewheel

Dach 12-03-2003 06:12 AM

Quote:

Originally posted by EsCanavi



1 i was asking on how work mousewheel
2 not everyone can push their mousewheel 0.o like ! everyone have a mousewheel

3. he's just adding on to the convo

good stuff to know anyhow ;)

GoZelda 12-03-2003 09:32 PM

Quote:

Originally posted by KainDaMan


Because that's essentially what it is...

No.
http://www.suse.de/de/private/produc...ages/mouse.jpg

HoudiniMan 12-04-2003 04:25 AM

But on mice with wheels there is no middle button, however pushing the wheel down does activate a button which Graal reads as the middle mouse button.

mousewheeldelta... delta = change in

change in mousewheel('s movement)

That's how i remember it, but im kind of a sciencey guy.
Although, i wouldn't be suprised if that's where they came up with the command.

Kigan 12-16-2003 09:06 PM

Actually Windows reads mousewheels you can pushdown as the middle mouse button. Graal just uses the Windows Mouse stuff. Stop accusing Stefan of being weird :p


All times are GMT +2. The time now is 02:36 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.