Rhand - point to

Ask for help

Moderators: Murderator+, Murderator

Post Reply
clagio
Posts: 58
Joined: 2004-05-09 19:53:49

Rhand - point to

Post by clagio »

can i point to the weapon i have in my rhand?
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

what is meant under "point to"?
clagio
Posts: 58
Joined: 2004-05-09 19:53:49

Post 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
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post by Lord Ruslan Nightmare »

sub poison_wep()
UO.Findtype('0x0F0A')
uo.waittargetobject('finditem',uo.objatlayer("Rhand"))
UO.UseSkill('Poisoning')
end sub
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
clagio
Posts: 58
Joined: 2004-05-09 19:53:49

Post by clagio »

perfect!

thanks

;)
Post Reply