How to use UO.GetGump()

Ask for help

Moderators: Murderator+, Murderator

Post Reply
DracoScript
Posts: 2
Joined: 2016-02-21 05:53:38

How to use UO.GetGump()

Post by DracoScript »

Hello!

I can't find a way to use UO.GetGump(...) function.
The only reference I have is from the Injection New Release Forum, which are not being translated to English (as well as the Help file).

I would like to ask de devs or who ever managed to use this function to show me some examples of usage.
Also, there is no reference to how it works in the Help files. It would be pretty usefull to have it there, since the old 5 gumps manage system was removed (UO.LastGumps(...) was better to use then this new functions, even considering the 5 gumps limit they had)

Thanks in advance!
DracoScript
Posts: 2
Joined: 2016-02-21 05:53:38

Re: How to use UO.GetGump()

Post by DracoScript »

Finally got it.

UO.GetGump('injid',GUMPINDEX) / UO.GetGump('injid',SERIAL,GUMPID)
to find the gump I want.

UO.SelectGump(INJID)
to make other UO.GetGump commands working.

Yet, I can't use UO.Set('textentry',2,'TEXT HERE') even after setting UO.SelectGump().
Anyone knows how to use it?
Post Reply