When you step on the "TarPit", I made it so the usr walks slower, but I have a problem. Here's my coding....
turf
TarPit
Enter(mob/M as mob)
//blah blah
The problem is, the person Speed is reduced without them actualy being ontop of the "TarPit". It's like the "TarPit" is dense. So, when somone runs into it, THEN their speed is reduced. How can I change it so you have to be ontop of the "TarPit" instead of around it?
Thank you
ID:261242
Nov 11 2001, 9:58 pm
|
|
The Wizard of How wrote:
When you step on the "TarPit", I made it so the usr walks slower, but I have a problem. Here's my coding.... Enter() is called apon entering, so in your case you should use the Entered() proc which is called after it is entered. |
In response to Nadrew
|
|
HELP ME DAMIT!
|
In response to Freeker
|
|
What are you talking about Freeker?
|
In response to Xooxer
|
|
Thank you guys. How would I go about doing the same thing..but with Bump? I tried Bumped...but that didn't work.
|
In response to Freeker
|
|
Since you're being so annoying and demanding I will refrain from ever helping you.
|
In response to The Wizard of How
|
|
Freeker is upset becuase noone will help someone who is rude and demanding. Not to mention, I have no idea how to answer his/her question (or else I would just to silence the bugger).
~X |
In response to The Wizard of How
|
|
The Wizard of How wrote:
Thank you guys. How would I go about doing the same thing..but with Bump? I tried Bumped...but that didn't work. Bump() only works for dense objects, in which case you won't normally be able to walk over the area. I would use Entered() to set the speed, and Exited() to set it back. Definitely the way to go. |
~X