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
EndsubRe: Mount and unmount
Sorry i am very noobZeroDX 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
How i get the horse ID?
Re: Mount and unmount
,info then target your horse
Re: Mount and unmount
Cool, it workedZeroDX wrote:,info then target your horse
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
you can remove some of lines
This script uses your latest horseMirage wrote:вот еще интересный вариант.
you can remove some of lines
Code: Select all
UO.MoveItem('_0x0F08',1,'lasthorse')
UO.WarMode(0)
UO.UseObject('lasthorse')Re: Mount and unmount
Thank you, this worked!ZeroDX wrote:follow this linkThis script uses your latest horseMirage wrote:вот еще интересный вариант.
you can remove some of linesCode: Select all
UO.MoveItem('_0x0F08',1,'lasthorse') UO.WarMode(0) UO.UseObject('lasthorse')
