Yoko
http://forum.yoko.com.ua/

How to use UO.GetGump()
http://forum.yoko.com.ua/viewtopic.php?f=3&t=17727
Page 1 of 1

Author:  DracoScript [ 2016-02-21 05:58:46 ]
Post subject:  How to use UO.GetGump()

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!

Author:  DracoScript [ 2016-02-23 00:25:18 ]
Post subject:  Re: How to use UO.GetGump()

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?

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/