Page 1 of 1

find object...possible?

Posted: 2005-06-09 13:46:28
by virussino
hi :)
macro for pet....

if UO.GetDistance(serial_horse)>5 then
use crystall ball

else
use horse

if pet is in stable, the distance return 0 and the macro it tries to go up on the pet .... error :|

finditem....it can be used with Object?

finditem('0x000173E9') ..... or other similar?

or, as I resolve the problem?

Posted: 2005-06-13 23:02:36
by Yoko
try for example uo.gethp(serial)
for dead, not eisting and not living beings it supposed to return 0

Posted: 2005-06-14 00:51:32
by flake
Or you can also use

Code: Select all

UO.FindType( 'type_of_horse' )
UO.GetSerial( 'finditem' )