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
einar
Wanderer


Joined: 06 Nov 2000
Posts: 80
Location: USA

PostPosted: Fri Jan 04, 2002 10:50 am   

Kill or keepgoing
 
How would I make it so that if I see a duck, moose, or monkey, I would kill it (kill duck, kill moose, or kill monkey)
If a room is empty, I just want to skip to the next room, but if there is a duck, I want to kill the duck, or if there is a moose, I want to kill the moose.
I know how to walk through a mapped area, and I know how to trigger the mob so that I attack it when I see it, but how do I stop when I see a mob, becuase I'll end up walking through the room, attacking, and leaving the room before I get the kill.

Reply with quote
SHASCO
Novice


Joined: 29 May 2001
Posts: 48
Location: USA

PostPosted: Fri Jan 04, 2002 1:59 pm   
 
#pause will puase your path which will allow you to attack the mob then use #step to continue your path.
Reply with quote
Crymson4
Novice


Joined: 20 Nov 2001
Posts: 35
Location: USA

PostPosted: Fri Jan 04, 2002 5:08 pm   
 
You might want to be careful of stuff like this, in the case of kill stealing. I for one, would be pretty annoyed if some bot walked in, killed the mob I was killing, then went on their merry way.

You might want to put in a check for something that will see if the mob is engaged in combat or not. For example, if the duck ISN'T in combat, it would look like "There is a duck here" Fire a trigger off that, to kill the duck. (Repeat this for as many different types of mobs there are in said area you want to kill)

If the duck IS in combat, it'll say something like "There is a duck here fighting <character>" Trigger off that to #step (in other words, keep walking)

I dunno, kill stealing is kind of a big deal on the MUD I play.

-=Crymson

Someone once said "Don't try to be a great man, just be a man; and let history draw it's own conclusions.".
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