Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Very big mouse bug! (https://forums.graalonline.com/forums/showthread.php?t=42910)

tlf288 02-19-2003 09:09 AM

Very big mouse bug!
 
If you copy and paste the code below into a Graal level and run the level you will see it tells you if a mouse button is pressed down. Now left click and hold. Move the cursor off-screen and let go. See how it says the mouse button is not down? Now do the same with with right mouse button. When you let go off screen the Graal.exe still thinks the mouse is being pressed. This is a very big bug for anyone who uses the right click for anything in their scripts.

NPC Code:

if(timeout||created){
if(mousebuttons>0){
message Mouse is down!;
}else{message Mouse is not down!;}
timeout=.05;
}


Python523 02-19-2003 09:26 AM

personally I have NEVER used the var mousebuttons so it's not really a problem for me :x

tlf288 02-19-2003 09:31 AM

It is still a bug that needs to be fixed nonetheless.

Kaimetsu 02-19-2003 11:22 AM

mousebuttons > button-specific flags

tlf288 02-19-2003 03:07 PM

Quote:

Originally posted by Kaimetsu
mousebuttons > button-specific flags
If you mean that using mousebuttons is better than button-specific flags I agree with you fully. It allows for better detections using intergers and you can set variables to the mousebuttons.

Python523 02-19-2003 11:55 PM

Quote:

Originally posted by tlf288


If you mean that using mousebuttons is better than button-specific flags I agree with you fully. It allows for better detections using intergers and you can set variables to the mousebuttons.

*shrugs* I haven't made many things using the mouse so I haven't really used it, and you can set variables to specific mouse flags too o.O
this.temp = {leftmousebutton,rightmousebutton};


All times are GMT +2. The time now is 07:08 AM.

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