Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Gui question (https://forums.graalonline.com/forums/showthread.php?t=71057)

wild8900 12-28-2006 08:41 AM

Gui question
 
Hey how do you find the position of the mouse, not based on the level x and y but on the screen.

Chicken_l33t 12-28-2006 09:51 AM

mousescreenx and mousescreeny

xXziroXx 12-28-2006 01:58 PM

How is this GUI related...? Wouldnt it have been less confusing naming it to something like "mouse position question" or similar?

Chompy 12-28-2006 02:44 PM

Well, if it was GUI related, some functions ( for example onMouseDown) returns mousescreen coordinats in their params, or he was related to that scripts are called gui(/weapon) scripts now..


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

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