if #MenuButton = EUOButton3
{
set #targcurs 1
while #targcurs = 1
{
event ExMsg #CHARID 3 50 Waiting...
wait 2s
}
set %VendorID #ltargetid
event ExMsg #CHARID 3 50 Ok
set #MenuButton N/A
}
gosub asd
return
sub createmenu
menu Clear
menu Window Color Green
menu Window Size 115 35
menu Font Align Right
menu Font Name Comic Sans MS
menu Font Size 11
menu Font Style
menu Font Color WindowText
menu Font BGColor 3DLight
menu Font Size 7
menu Button EUOButton3 5 5 105 25 Setta Vendor
menu Show 100 35
usate questo
funziona solo se siete entro 10' tile da ogni vendor
esempio
posizionandivi nel punto dell' immagine potete usare entrambi i vendor di luna(black&tailor)
if #MenuButton = EUOButton1
{
set #targcurs 1
while #targcurs = 1
{
event ExMsg #CHARID 3 50 Targetta il Vendor1
wait 2s
}
set %VendorID1 #ltargetid
event ExMsg #CHARID 3 50 Ok
set #MenuButton N/A
}
if #MenuButton = EUOButton2
{
set #targcurs 1
while #targcurs = 1
{
event ExMsg #CHARID 3 50 Targetta il Vendor2
wait 2s
}
set %VendorID2 #ltargetid
event ExMsg #CHARID 3 50 Ok
set #MenuButton N/A
}
gosub asd
return
sub createmenu
menu Clear
menu Window Color Green
menu Window Size 230 35
menu Font Align Right
menu Font Name Comic Sans MS
menu Font Size 11
menu Font Style
menu Font Color WindowText
menu Font BGColor 3DLight
menu Font Size 7
menu Button EUOButton1 5 5 105 25 Setta Vendor 1
menu Button EUOButton2 120 5 105 25 Setta Vendor 2
menu Show 100 35
Commenta