poisoning armed weapon
Posted: 2006-03-02 11:36:25
i am new at injection, there is no eng. tutorial functions and commands,
so it is hard to learn,
firstly is there any doc. url eng. about functions and commands,
second
i did not understand targeting anything that i have serial ,type and layer,
where is the problem on that script or how can you get better simple this script.
thanks for your help
sub posi()
var weapon
var wpntype
wpntype=0
Weapon=UO.ObjAtLayer('Rhand')
If weapon<>"" Then
wpntype=UO.GetGraphic(Weapon)
uo.usetype (0x0f0a,0x000)
while not UO.Targeting()
wait(50)
wend
uo.print(UO.GetSerial('lasttargetkey'))
uo.print(weapon)
uo.target(UO.GetSerial('lasttargetkey'),weapon,0,wpntype)
Endif
end sub
so it is hard to learn,
firstly is there any doc. url eng. about functions and commands,
second
i did not understand targeting anything that i have serial ,type and layer,
where is the problem on that script or how can you get better simple this script.
thanks for your help
sub posi()
var weapon
var wpntype
wpntype=0
Weapon=UO.ObjAtLayer('Rhand')
If weapon<>"" Then
wpntype=UO.GetGraphic(Weapon)
uo.usetype (0x0f0a,0x000)
while not UO.Targeting()
wait(50)
wend
uo.print(UO.GetSerial('lasttargetkey'))
uo.print(weapon)
uo.target(UO.GetSerial('lasttargetkey'),weapon,0,wpntype)
Endif
end sub