Use object type vs use specific object

Jakaro

Master
Hi,

How do I create a script in UOSteam that looks for the specific object type instead of the specific object itself? I'm trying to create a macro that will allow me to use a moongate without clicking the moongate. Helpppppp!
 

Tantreghan

Grandmaster
Use object inspector on it and copy the "graphic number". I think then u type this - usetype 'graphic id here'


So loook like this

usetype '###'


Sent from my iPhone using Tapatalk
 

severus

Grandmaster
Be sure you make sure it only tries certain range, 1 tile or 2 tile I can't remember

It'll be like usetype @@@ 'any' '2' 'ground'

Any for hue, 2 range, ground source, check the brackets wheb you type usetype and it tell you
 

DingDong

Master
I'm not near comp atm but the line here seems wrong

usetype @@@ 'any' '2' 'ground'

try

usetype @@@ 'any' 'ground' 2
('ground' with brackets first, then 2 without the brackets)

I check my macro when I log in next time.
 

parsnip

Grandmaster
Hi,

How do I create a script in UOSteam that looks for the specific object type instead of the specific object itself? I'm trying to create a macro that will allow me to use a moongate without clicking the moongate. Helpppppp!


if @findtype 0xf6c 'any' 'ground' 1 1
sysmsg 'Moongate found, lets go!' 80
useobject! 'found'
if @inregion 'guards'
waitforgump 3716879466 1500
replygump 3716879466 1
endif
else
sysmsg 'Moongate not found, come closer.' 24
endif
 

baddie

Master
this one works with all moongates (including the fancy donation coin gates)

if @findtype 0xf6c 'any' 'ground' 1 2

sysmsg 'Moongate found, lets go!' 80

useobject! 'found'

if inregion 'guards'

waitforgump 0xdd8b146a 2000

replygump 0xdd8b146a 1

endif

else

if @findtype 0x4bcb 'any' 'ground' 1 2

sysmsg 'Moongate found, lets go!' 80

useobject! 'found'

endif

if inregion 'guards'

waitforgump 0xdd8b146a 2000

replygump 0xdd8b146a 1

endif

endif
 
Top