Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   request:- getfocus (https://forums.graalonline.com/forums/showthread.php?t=77233)

xAndrewx 10-19-2007 08:23 PM

request:- getfocus
 
would be cool to see the current focus that a player is on

player.getfocus() - returns players focus

Admins 10-19-2007 10:11 PM

There are isfocused, focusx and focusy

Googi 10-19-2007 10:15 PM

If you're going to keep posting requests like this, you should know that they're supposed to go in Future Improvements.

Inverness 10-19-2007 10:24 PM

You really should read the Wiki, I went and found the focus variables in the Clientside Functions/Variables list about 10 seconds after I read this thread.

xAndrewx 10-19-2007 11:05 PM

Quote:

Originally Posted by Stefan (Post 1353564)
There are isfocused, focusx and focusy

cooooool thanks tuff guy !!! :D

napo_p2p 10-20-2007 12:19 AM

When I first read the thread I thought he was asking for a way to get the Control that has the focus of the player (e.g. GraalControl, ChatBar, etc).

Now it got me curious. Is there a way to do that?

zokemon 10-21-2007 11:58 PM

Quote:

Originally Posted by napo_p2p (Post 1353587)
When I first read the thread I thought he was asking for a way to get the Control that has the focus of the player (e.g. GraalControl, ChatBar, etc).

Now it got me curious. Is there a way to do that?

There's onFirstResponderChanges(obj) which is called when ever a new control gets focus.

Switch 10-22-2007 04:04 AM

Quote:

Originally Posted by Googi (Post 1353566)
If you're going to keep posting requests like this, you should know that they're supposed to go in Future Improvements.

Well it kinda was a Scripting Function he was asking for :\

Crow 10-22-2007 12:26 PM

Quote:

Originally Posted by Switch (Post 1354062)
Well it kinda was a Scripting Function he was asking for :\

"NPC Scripting
Show off your best NPCs or ask the experts"

Do you see anything about requests?

xAndrewx 10-22-2007 04:58 PM

don't any of you have anything better to do than argue about where a post should have been placed? pathetic... The questions already been answered

Inverness 10-22-2007 11:02 PM

Quote:

Originally Posted by xAndrewx (Post 1354106)
don't any of you have anything better to do than argue about where a post should have been placed?

No.

Googi 10-23-2007 06:59 AM

Quote:

Originally Posted by xAndrewx (Post 1354106)
don't any of you have anything better to do than argue about where a post should have been placed?

No. If you have a problem with it, go make some threads that give us something better to do.


All times are GMT +2. The time now is 05:28 AM.

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