ID:175628
Mar 25 2003, 4:37 pm
|
|
No, my legs didn't break, I need a way for the game to check for poison while the people are walking around.
|
Mar 25 2003, 5:43 pm
|
|
<code>mob/ var/ poison = 0 Move() ..() //Go ahead and move... if(poison > 0) // Do whatever. hp-- poison--</code>
|
In response to Nova2000
|
|
Actually you don't need the / behind mob and var.....
i would do it like this mob Move() if(usr.poison <= 0) ..() if(usr.poison >0) do the poison stuff ////i like my way better some how |
In response to Jango Fett
|
|
Except it's worse because you're using usr in it, and is thus unstable, and is thus bad advice, and will thus produce more bad advice with usr in it, resulting in a horrible cycle of bad advice that will eventually destroy BYOND, all thanks to you!
|
In response to Garthor
|
|
Man, I thought you were over this.
|
In response to Jango Fett
|
|
No, I'm not over my horrible habit of stopping horrible problems.
|
In response to Garthor
|
|
You know what I meant. You got me banned for a year man. It was so cold.
|
In response to Jango Fett
|
|
I did? Oh well.
|