Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-29-2003, 12:30 PM
EsCanavi EsCanavi is offline
No Longer Graalian.
EsCanavi's Avatar
Join Date: Oct 2003
Location: ..:: Lassomption/Quebec/Canada ]::...
Posts: 214
EsCanavi is on a distinguished road
Send a message via AIM to EsCanavi Send a message via MSN to EsCanavi
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
__________________
:: Free Gift... 40$ ::
:: WrsHosting ::
:: Need a webhost, contact me ( free ) 99.9% Online ::
Contact me: [email protected] (msn|mailbox)
Reply With Quote
  #2  
Old 11-29-2003, 01:32 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
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.
Reply With Quote
  #3  
Old 11-29-2003, 01:38 PM
EsCanavi EsCanavi is offline
No Longer Graalian.
EsCanavi's Avatar
Join Date: Oct 2003
Location: ..:: Lassomption/Quebec/Canada ]::...
Posts: 214
EsCanavi is on a distinguished road
Send a message via AIM to EsCanavi Send a message via MSN to EsCanavi
okay thank lot gonna try this =)


..:Edit]:..
works thank =)
__________________
:: Free Gift... 40$ ::
:: WrsHosting ::
:: Need a webhost, contact me ( free ) 99.9% Online ::
Contact me: [email protected] (msn|mailbox)
Reply With Quote
  #4  
Old 11-29-2003, 05:33 PM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
The mousewhell, when pushed down like a normal mouse button, is considered the middle mouse button in GScript.
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

Reply With Quote
  #5  
Old 11-30-2003, 01:20 AM
KainDaMan KainDaMan is offline
Registered User
Join Date: Jul 2003
Location: Virginia,USA
Posts: 51
KainDaMan is on a distinguished road
Send a message via AIM to KainDaMan
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
__________________
---Kain Morbid
Reply With Quote
  #6  
Old 12-03-2003, 04:15 AM
EsCanavi EsCanavi is offline
No Longer Graalian.
EsCanavi's Avatar
Join Date: Oct 2003
Location: ..:: Lassomption/Quebec/Canada ]::...
Posts: 214
EsCanavi is on a distinguished road
Send a message via AIM to EsCanavi Send a message via MSN to EsCanavi
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
__________________
:: Free Gift... 40$ ::
:: WrsHosting ::
:: Need a webhost, contact me ( free ) 99.9% Online ::
Contact me: [email protected] (msn|mailbox)
Reply With Quote
  #7  
Old 12-03-2003, 06:12 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #8  
Old 12-03-2003, 09:32 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by KainDaMan


Because that's essentially what it is...
No.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #9  
Old 12-04-2003, 04:25 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
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.
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #10  
Old 12-16-2003, 09:06 PM
Kigan Kigan is offline
Banned
Join Date: Dec 2003
Posts: 92
Kigan is on a distinguished road
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:03 AM.


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