waitmenu, automenu, etc.

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Umuri
Posts: 37
Joined: 2004-05-16 16:23:27
Contact:

waitmenu, automenu, etc.

Post 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
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post 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
Umuri
Posts: 37
Joined: 2004-05-16 16:23:27
Contact:

Post 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
Post Reply