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
poisoning armed weapon
Moderators: Murderator+, Murderator
Re: poisoning armed weapon
Code: Select all
sub posi()
weapon = uo.ObjAtLayer('Rhand')
if (Weapon <> '') then
uo.WaitTargetObject(weapon)
uo.UseType('0x0f0a','0x000')
end if
end sub