Yoko

All sides of Injection
It is currently 2025-11-12 06:25:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: poisoning armed weapon
PostPosted: 2006-03-02 11:36:25 
Offline

Joined: 2005-01-23 02:01:27
Posts: 3
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


Top
   
PostPosted: 2006-03-02 13:04:34 
Offline

Joined: 2006-02-03 06:53:36
Posts: 64
Code:
sub posi()
    weapon = uo.ObjAtLayer('Rhand')
    if (Weapon <> '') then
        uo.WaitTargetObject(weapon)
        uo.UseType('0x0f0a','0x000')
    end if
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited