help for poison equipped arm

Ask for help

Moderators: Murderator+, Murderator

Post Reply
leonep
Posts: 1
Joined: 2007-06-24 20:16:20

help for poison equipped arm

Post by leonep »

I want to poison che equipped arm . If i lose arm or i change it,i don't want to update it in objects or objects type but poison the current arm in hand..
It is possible?
Mihail
Expert!
Posts: 548
Joined: 2005-05-20 20:30:10
Contact:

Post by Mihail »

я не понял че он хочет? отравить арм? и ему не нравится переписывать ID-шники?

p.s. i don't undestand what do U mean.. U want to poison equipped armour?

try this:

Code: Select all

hotkey
waittargetobject "_0x0000"; usetype "posion type"; "Poison2Arm"

_0x0000 - type of your armour
MacTepeo
Posts: 52
Joined: 2007-04-14 16:11:34
Location: Москоу
Contact:

Post by MacTepeo »

помоему он хочет автоматом снимать ИД с армов в руках.
помоему))
Mihail
Expert!
Posts: 548
Joined: 2005-05-20 20:30:10
Contact:

Post by Mihail »

а при чем тут слово "йад"?:)

author if you want to update ID of Object In Right Hand U can paste this in your scripts where necessary


Code: Select all

if uo.objatlayer('Rhand') <> uo.getserial("sword") then
uo.addobject("sword",uo.objatlayer('Rhand'))
end if
MacTepeo
Posts: 52
Joined: 2007-04-14 16:11:34
Location: Москоу
Contact:

Post by MacTepeo »

а может нечно наподобие

Code: Select all

 if weaptype == Puha[i] then
  goto tend
 endif
next
weap = UO.ObjAtLayer("Rhand")
tend :
uo.findtype('0x0F0E','0x0998','backpack')
uo.waittargetobject(weap,'finditem')
uo.useskill("Poisoning")


там уже чисто что в руках то и будет пойзонить.
Mihail
Expert!
Posts: 548
Joined: 2005-05-20 20:30:10
Contact:

Post by Mihail »

чтобы пропозонить веапон в руке достаточно хоткея

waittargetobject objatlayer 'Rhand'; usetype 0x0000
MacTepeo
Posts: 52
Joined: 2007-04-14 16:11:34
Location: Москоу
Contact:

Post by MacTepeo »

нед) если оружие двуручное - то оно лежит на слою левой руки, хоть и отображается в правой.. или наоборот)) не помню)))
Post Reply