|
Twit Newbie
Joined: 21 Jul 2002 Posts: 6 Location: USA
|
Posted: 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"?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
Twit Newbie
Joined: 21 Jul 2002 Posts: 6 Location: USA
|
Posted: 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.
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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.
|
|
|
|
|
|