OK, what I want to to shouldn't be too hard.
1. My "Duel" verb works for mobs in oview(1). Now, I want to make it so that you can't use the verb unless you are on one of the opponent mob's sides (North, South, East, or West). How would I do that?
2. How can I make it so that the two mobs fighting each other will automatically face each other at the beginning of a battle?
3. There's also another thing I want to do. While dueling, you can't move. I took care of that in the Move() proc. But, you can still turn yourself(just not actually move). How can I make it so that you can't even turn?
Thank you.
ID:180513
May 28 2001, 7:34 am
|
|
Check out the get_dir() function.
Use get_dir() and set their direction based on that.
Override client.Move(), which is where the dir setting is happening.