Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Drag and Drop (https://forums.graalonline.com/forums/showthread.php?t=81034)

WhiteDragon 08-05-2008 01:40 AM

Sleeps make the script lose focus.

zokemon 08-05-2008 11:29 AM

Why don't you just use the built-in dragging functions the Graal has for GUIs? You can set canmove=false and the drag functions will still be triggered when dragging, just the GUI wouldn't move.

I think you can figure out what to do with that data, right?

DustyPorViva 08-05-2008 11:32 AM

Quote:

Originally Posted by zokemon (Post 1411543)
Why don't you just use the built-in dragging functions the Graal has for GUIs? You can set canmove=false and the drag functions will still be triggered when dragging, just the GUI wouldn't move.

I think you can figure out what to do with that data, right?

I've always had problems with this... for instance, it looses focus and stops triggering when the mouse is moved outside of the GUI. I don't think anyone moves their mouse slow enough to allow the client to keep up. At least, this was one of my problems. I also had problems with focus and such... it was just a pain that I gave up. Perhaps there are fixes for this, however.


All times are GMT +2. The time now is 10:40 AM.

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