Yoko
http://forum.yoko.com.ua/

find object...possible?
http://forum.yoko.com.ua/viewtopic.php?f=3&t=4179
Page 1 of 1

Author:  virussino [ 2005-06-09 13:46:28 ]
Post subject:  find object...possible?

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?

Author:  Yoko [ 2005-06-13 23:02:36 ]
Post subject: 

try for example uo.gethp(serial)
for dead, not eisting and not living beings it supposed to return 0

Author:  flake [ 2005-06-14 00:51:32 ]
Post subject: 

Or you can also use

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/