Yoko

All sides of Injection
It is currently 2025-12-26 14:36:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Request Script
PostPosted: 2005-06-24 12:03:28 
Offline

Joined: 2005-06-23 22:41:00
Posts: 3
HI all!

I'm new in this forum, so , sorry if i have made this topic in a wrong location.


I wanna make a script to 'close' a pg with bagball (for example after a parablow move) but i'm not very able in scripting.

I have found a script that drop one or more bagball, but in the same tile (to make, for example, 'wall' of balls)

How can i make a script that drop bagballs around my last target to block him?



Thanks

8)


Top
   
 Post subject:
PostPosted: 2005-06-24 12:24:21 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
And what is a bagball? :) '


Top
   
 Post subject:
PostPosted: 2005-06-24 12:31:49 
Offline

Joined: 2005-06-23 22:41:00
Posts: 3
flake wrote:
And what is a bagball? :) '



an object like a containar [UO.FindType('0x2256')]


i can change the type ^^'


->> so insert a type check, to make possible to change the object for different situation :P


Top
   
 Post subject:
PostPosted: 2005-06-24 13:47:54 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
to flake in russian
обычный скрипт на облдожку я так понял :)


Top
   
 Post subject:
PostPosted: 2005-06-24 13:49:16 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
А я нифига ничего не понял.

_________________
Сделал дело - флуди смело !!!


Top
   
 Post subject: Re: Request Script
PostPosted: 2005-06-24 13:53:53 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
silentwolf83 wrote:
I wanna make a script to 'close' a pg with bagball (for example after a parablow move) but i'm not very able in scripting.
I have found a script that drop one or more bagball, but in the same tile (to make, for example, 'wall' of balls)

silentwolf83 wrote:
How can i make a script that drop bagballs around my lasttarget to block him?

in russian
отсюда я сделал сей вывод :wink:


Top
   
 Post subject:
PostPosted: 2005-06-24 15:39:36 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Try this one:

http://yoko.netroof.net/forum/viewtopic ... ight=sheet


Top
   
 Post subject:
PostPosted: 2005-06-24 16:22:43 
Offline

Joined: 2004-06-05 00:16:33
Posts: 11
Code:
sub bagball() 

var bagball='0x0000' ;bagball's type

uo.FindType(bagball, -1)
if UO.GetQuantity('finditem')>0 then
uo.Drop('1', Str(uo.GetX('last')-1), Str(uo.GetY('lastattack')), Str(uo.GetZ('lastattack')), 'finditem')
wait(600)
else
UO.Print('No bagball')
end if 

uo.FindType(bagball, -1)
if UO.GetQuantity('finditem')>0 then
uo.Drop('1', Str(uo.GetX('lastattack')+1), Str(uo.GetY('lastattack')), Str(uo.GetZ('lastatack')), 'finditem')
wait(600)   
else
UO.Print('No bagball')
end if 

uo.FindType(bagball, -1)
if UO.GetQuantity('finditem')>0 then
uo.Drop('1', Str(uo.GetX('lastattack')), Str(uo.GetY('lastattack')-1), Str(uo.GetZ('lastattack')), 'finditem')
wait(600)
else
UO.Print('No bagball')
end if 

uo.FindType(bagball, -1)
if UO.GetQuantity('finditem')>0 then
uo.Drop('1', Str(uo.GetX('lastattack')), Str(uo.GetY('lastattack')+1), Str(uo.GetZ('lastattack')), 'finditem')
wait(600)
else
UO.Print('No bagball')
end if 

end sub


Top
   
 Post subject:
PostPosted: 2005-06-24 17:11:30 
Offline

Joined: 2005-06-23 22:41:00
Posts: 3
tnks ^_^

i will try this, it seems to work well :)


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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:  
Powered by phpBB® Forum Software © phpBB Limited