drop command help

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
zenital
Posts: 6
Joined: 2005-03-10 18:42:12

drop command help

Post by zenital »

Thats it, i need some help about this command, im trying to drop 10 explosions at a time to kill other people :twisted: but always says you cannot pick up that... i dont know what can i do anyone could help me?

thx.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Re: drop command help

Post by Yoko »

zenital wrote:Thats it, i need some help about this command, im trying to drop 10 explosions at a time to kill other people :twisted: but always says you cannot pick up that... i dont know what can i do anyone could help me?

thx.


,drop 1 ..... _XXX;ignore finditem
zenital
Posts: 6
Joined: 2005-03-10 18:42:12

Post by zenital »

sorry but im noob at this, i bind to a key this command ,drop 10 x y z explosion, making an object in injection with the name "explosion" but serial change when i create more pots so...
And in x y z what values i bind to this coordinates to drop the explosions under me?

thx.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

,exec mydropscript


sub mydropscript()
var x=uo.getx("laststatus")
var y=uo.gety("laststatus")
var z=uo.getz("laststatus")
var t=EXPLOSIONTYPE
var i=0

for i=1 to 10
uo.findtype(t)
if uo.findcount() then
uo.drop("-1",str(x),str(y),str(z),"finditem")
uo.ignore("finditem")
end if
next
end sub
zenital
Posts: 6
Joined: 2005-03-10 18:42:12

Post by zenital »

thannnnnnnnkssssssssssssssssssssssssss :P :P :P :P thx a lot yoko :D :D :D :D :D
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

in general i DO NOT write scripts for free, you just lucky bastard :)
Post Reply