Is there any way for me to track a gumps position in the screen?
I mean, I have a custom cartography sistem, and there's a gump for the map. When you click in a marked position of the map, a button in the gump, another gump, a king of tooltip appears right over the marked position, bringing information about it. The problem is: id the player moves the gump, the tooltip wont appear right over the marked position. I would like to track the new gump position, so, that way I could make the tooltip appear right over the button.
Any way of doing that? I know they're totally different, but some day I saw something like this in a sphere server....
Thanks...
Gump Question
Moderator: POL Developer
Re: Gump Question
Answer to your question is no..
That is handled fully clientside, only way to accomplish that would be with a custom client or a gump locked to some coordinates and not let the players move it.
That is handled fully clientside, only way to accomplish that would be with a custom client or a gump locked to some coordinates and not let the players move it.
Re: Gump Question
If you can close a gump in a looping script.. that maintains the script PID, newer clients will save the location... during that login session.
Once the client is closed, itll reset.
Once the client is closed, itll reset.
Re: Gump Question
So, lets recycle the topic and make another question.
Can I force a gump to close, or know if it is closed or not? And could I do the same with container gumps?
Can I force a gump to close, or know if it is closed or not? And could I do the same with container gumps?
Re: Gump Question
check uo.em functions
CloseGump( character, pid, response := 0 );
and
CloseWindow( character, type, object );
CloseGump( character, pid, response := 0 );
and
CloseWindow( character, type, object );
-
- New User
- Posts: 4
- Joined: Wed May 20, 2009 8:13 am
Re: Gump Question
Sorry to ressurect an old topic. But how would you go about doing this?Austin wrote:If you can close a gump in a looping script.. that maintains the script PID, newer clients will save the location... during that login session.
Once the client is closed, itll reset.