Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Twit
Newbie


Joined: 21 Jul 2002
Posts: 6
Location: USA

PostPosted: Thu Mar 13, 2003 8:21 pm   

Getting Multiple Objects/Attacking Multiple Mobs
 
How would one go about creating a script set that would allow a roomfull of mobs to be attacked, or a roomfull of objects to be gathered with only one "look"?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Mar 13, 2003 9:42 pm   
 
Do a look, preferably in a room with lots of mobs and objects.
Observe the patterns and decide what makes lines about mobs different from other lines. Decide what makes lines about objects different from other lines.
Use those differences to create trigger patterns which will identify the mobs and objects and take the desired actions.

That's it in a nutshell. It's usually a fairly difficult task. Good luck.

LightBulb
Advanced Member
Reply with quote
Twit
Newbie


Joined: 21 Jul 2002
Posts: 6
Location: USA

PostPosted: Fri Mar 14, 2003 12:04 am   
 
So far, I've gotton to the point where I can add mobiles to a string list. Now, I just need to be able to remove them as I attack.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Mar 14, 2003 1:21 am   
 
Check out the %pop function. It removes the first item of a string list and returns the item.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net