Yoko
http://forum.yoko.com.ua/

poisoning armed weapon
http://forum.yoko.com.ua/viewtopic.php?f=1&t=6758
Page 1 of 1

Author:  cilginprof [ 2006-03-02 11:36:25 ]
Post subject:  poisoning armed weapon

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

Author:  CFA [ 2006-03-02 13:04:34 ]
Post subject:  Re: poisoning armed weapon

Code:
sub posi()
    weapon = uo.ObjAtLayer('Rhand')
    if (Weapon <> '') then
        uo.WaitTargetObject(weapon)
        uo.UseType('0x0f0a','0x000')
    end if
end sub

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/