All sides of Injection
It is currently 2019-02-23 01:43:07

All times are UTC+02:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Pick up bolts and arrows
PostPosted: 2016-03-11 17:31:58 

Joined: 2016-01-17 03:18:53
Posts: 8
Hello, i have issues with bolts and arrows that drop out of monster while shooting it. They can not be picked up via injection. When i place bolt/arrow on ground myself, script will pick it up, when they pop out of mob, inj ignores it. When i enter ID of that one bolt into moveitem script, its working, but when i enter just TYPE and color, nothing. When i relog, i can pick it up.
I noticed that bolts and arrows droped out of monster looks visualy lower then arrow or bolt i place on the same spot, its like 1 point above it. ,info confirms that, two bolt on the one tile, one from mob another droped by hand, they have diferent Z coord.

Thank you!

PostPosted: 2016-03-13 07:28:57 

Joined: 2015-02-21 10:24:12
Posts: 5
i use this

sub lootarrow()
var r, arr
DIM arrow[2]
For r=1 to 2
UO.FindType(arrow[r],-1, 1)
if uo.FindCount('finditem')>0 then
uo.grab("0", arr)
until uo.FindCount('finditem')==0 or Uo.InJournal ('overweighted')
end sub

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 1 guest

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:  
Powered by phpBB® Forum Software © phpBB Limited