mob/mugger
icon = 'mugger.dmi'
var
wander = 1
proc/Movement()
if(wander) step_rand(src)
..()
And it says wander is undefined -__-
ID:142200
![]() Jul 26 2008, 9:45 am
|
|
ok my code looks like this
And it says wander is undefined -__- |
![]() Jul 26 2008, 11:00 am
|
|
Edit: Oops.
|
mob/mugger Which works fine with no errors. |
The code you just gave will compile. My guess is that you did something like this:
mob/verb/Rawr(mob/M in oview(5)) You could fix that by replacing mob/M with mob/mugger/M or by saying: if(istype(M,/mob/mugger)) //this checks if they are of the /mob/mugger type Or: if(istype(M,/mob/mugger)) //same as before |