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

Ennemie Weapon
http://forum.yoko.com.ua/viewtopic.php?f=17&t=15382
Page 1 of 1

Author:  wanceslass [ 2009-12-19 04:38:56 ]
Post subject:  Ennemie Weapon

Hello, I want to find how i can print the name of the weapon of my target
I know how u see my weapon("Rhand" layer) but I don't know how do this to my ennemy and to see his name.
I was trying to use this:

Code:
Z = UO.GetName(UO.ObjAtLayer("Rhand"))


UO.Getname isn't working here and i dont understand why

Author:  Nmy [ 2009-12-19 12:28:25 ]
Post subject: 

Code:
sub main()
   uo.click(uo.getserial(UO.ObjAtLayer("Lhand")))
   wait(500)
   var Z = UO.GetName(uo.getserial(UO.ObjAtLayer("Lhand")))
   uo.print(Z)
end sub

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