Page 1 of 1

help for poison equipped arm

Posted: 2007-06-24 20:24:21
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?

Posted: 2007-06-28 12:39:10
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

Posted: 2007-06-28 17:49:12
by MacTepeo
помоему он хочет автоматом снимать ИД с армов в руках.
помоему))

Posted: 2007-06-28 18:05:55
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

Posted: 2007-06-28 21:06:09
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")


там уже чисто что в руках то и будет пойзонить.

Posted: 2007-06-28 23:51:43
by Mihail
чтобы пропозонить веапон в руке достаточно хоткея

waittargetobject objatlayer 'Rhand'; usetype 0x0000

Posted: 2007-06-29 17:36:25
by MacTepeo
нед) если оружие двуручное - то оно лежит на слою левой руки, хоть и отображается в правой.. или наоборот)) не помню)))