Page 1 of 1

waitmenu, automenu, etc.

Posted: 2006-04-05 14:52:53
by Umuri
Alright, i apologize if this is elsehwere int he forums. Browsing throuhg most of the russian posts that i can barely understand part of i may have missed it.

Is there a command similar to waitmenu/automenu that just picks a choice?

My problem is both waitmenu and automenu only allow 3 choices, and i need one that is 4 and 5 menus deep.

Also, is there a central list of commands for yoko's injection anywhere? Closest i found was in the changelog

Posted: 2006-04-05 15:16:54
by Scripts Writer
Something about waitmenu...

If do you want to make something, and there are about 4 or 5 menus, look here:

Code: Select all

UO.AutoMenu ('a', 'b' ) 


Where "a" - head of menu
"b" - name of menu, where click to continue craft or anything else

AutoMenu('Name of Window','Chose')

So:

Code: Select all

UO.AutoMenu ('a', 'b' ) 
UO.AutoMenu ('b', 'c' )
UO.AutoMenu ('c', 'd' )
UO.AutoMenu ('d', 'e' )
UO.AutoMenu ('e', 'f' )


Where f -item whick do want to craft. If this is Carpentry and fishing pole-look here:

Code: Select all

UO.AutoMenu ('Carpentry', 'Fishing Poles' ) 
UO.AutoMenu ('Fishing Poles', 'fishing pole' )


And no problem. That could be more than 3 AutoMenu. More,more and more. But i prefer uo.WaitMenu. ;) good luck

Posted: 2006-04-07 00:39:05
by Umuri
Heh, lemme specify something i forgot o in the last post.

Two of the menu's have hte same title.

Blacksmithing -> smelting
Blacksmithing -> weapons
Weapons -> swords
Swords -> dagger