I have defined 2 pages of some gump.
I have looped my script
var a:=1;
while(a>0)
var ret:=show_gump(who);
if(ret[0]==0) a:=0; endif
case(ret[0])
something: do_something();
endcase
endwhile
Player has shown page 2. Pressing the button makes a gump close and a new one show. Is there a way to show Page 2 od this gump at first???
Gump - page 2 how to show it ??
You can make page 2 show while the gump remains open (this will return nothing to your scripts as page flipping using the client way will wait until an actual button other than a page button is hit or the gump is closed) but I don't believe that you can make page 2 show first when sending a gump unless you script it to shift the page numbers and put everything thats supposed to be on page 2 on page 1.