Hi, i want to mount/unmount in one single key
Is that possible?
Mount and unmount
Moderators: Murderator+, Murderator
Re: Mount and unmount
Try this
Code: Select all
sub Mount()
var id_Horse = '0x12345678' ;<= ID
If UO.ObjAtLayer('Horse') then
UO.UseObject('self')
else
UO.UseObject(id_Horse)
Endif
Endsub
Re: Mount and unmount
ZeroDX wrote:Try thisCode: Select all
sub Mount()
var id_Horse = '0x12345678' ;<= ID
If UO.ObjAtLayer('Horse') then
UO.UseObject('self')
else
UO.UseObject(id_Horse)
Endif
Endsub
Sorry i am very noob
How i get the horse ID?
Re: Mount and unmount
,info then target your horse
Re: Mount and unmount
ZeroDX wrote:,info then target your horse
Cool, it worked
But is this way i have to set the ID everytime i change a horse (is this right?)
Is there a easier way?
Re: Mount and unmount
follow this link
This script uses your latest horse
you can remove some of lines
Mirage wrote:вот еще интересный вариант.
This script uses your latest horse
you can remove some of lines
Code: Select all
UO.MoveItem('_0x0F08',1,'lasthorse')
UO.WarMode(0)
UO.UseObject('lasthorse')
Re: Mount and unmount
ZeroDX wrote:follow this linkMirage wrote:вот еще интересный вариант.
This script uses your latest horse
you can remove some of linesCode: Select all
UO.MoveItem('_0x0F08',1,'lasthorse')
UO.WarMode(0)
UO.UseObject('lasthorse')
Thank you, this worked!