Page 1 of 1

Rhand - point to

Posted: 2004-06-17 21:41:16
by clagio
can i point to the weapon i have in my rhand?

Posted: 2004-06-17 22:45:37
by Yoko
what is meant under "point to"?

Posted: 2004-06-18 01:27:20
by clagio
i need to poison the weapon i'm holding
(poison skill work targetting before the poison bottle and after the weapon)
something like this, but it doesn't working, maybe i use incorrectly the var type..

i'd like don't disarming.. (line 2)

sub poison_wep()
uo.exec ("disarm")
UO.Findtype('0x0F0A') #poison type
UO.Findtype('0x1401') #kryss type
uo.exec ("waittargettype ('0x0F0A') (UO.Findtype('0x1401'))") #
UO.UseSkill('Poisoning','finditem')
end sub

should become something like this..only i need the point to [Rhand weapon] :)

sub poison_wep()
UO.Findtype('0x0F0A') #poison type
uo.exec ("waittargettype ('finditem') [Rhand weapon])") #
UO.UseSkill('Poisoning','finditem')
end sub

Thanks

Posted: 2004-06-18 08:07:21
by Lord Ruslan Nightmare
sub poison_wep()
UO.Findtype('0x0F0A')
uo.waittargetobject('finditem',uo.objatlayer("Rhand"))
UO.UseSkill('Poisoning')
end sub

Posted: 2004-06-18 13:03:23
by clagio
perfect!

thanks

;)