find object...possible?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
virussino
Posts: 22
Joined: 2004-10-02 14:37:13

find object...possible?

Post 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?
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

try for example uo.gethp(serial)
for dead, not eisting and not living beings it supposed to return 0
flake
Expert!
Posts: 746
Joined: 2004-08-11 23:56:17
Location: The Citadel
Contact:

Post by flake »

Or you can also use

Code: Select all

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