I need one for my chicken. hehe
Thank You Shane
ID:151188
![]() Feb 22 2001, 6:53 pm
|
|
Ok, I found the code and im haveing some errors.
Code: mob/Chicken icon='Chicken.dmi' name="Killer Chicken" density=1 New() walk_rand(src,4)//line 46 ..() Errors: Code.dm:46:error:src:duplicate definition Code.dm:46:error:4:duplicate definition |
Ok, I found the code and im haveing some errors.
Code: mob/Chicken icon='Chicken.dmi' name="Killer Chicken" density=1 New() walk_rand(src,4)//line 46 ..() Errors: Code.dm:46:error:src:duplicate definition Code.dm:46:error:4:duplicate definition |
Ok, I found the code and im haveing some errors. Could be an indentation problem. It should look like this: mob/Chicken icon='Chicken.dmi' name="Killer Chicken" density=1 New() ..() walk_rand(src, 4) |
Hey!! I told you to indent that code! You know what we do around here to people who don't indent? No? Well, let's just say it's not pretty. We were picking junior mints out of that last guy for a month.
Z |
This is your lucky day... there's something built right into DM. Check out walk_rand in the Reference. Also see step_rand, if you want to do it one step at a time.