Entered() problems. in Developer Help
area/no_monsters/Entered(mob/M) //is a mob entering? if(istype(M,/mob/monsters)) //is it of that category? return //...then dont enter!
area/no_monster/Enter(mob/monsters/m) return !istype(m)
Enter() for turf works the same as Enter() for area.
There's no reason it wouldn't work. To add to this, what that code does does exactly what he wants,
I fail to see why it neither robust nor proper-working for turfs.
area/no_monster/Enter(mob/M) //override the default Enter() proc for this area if(istype(M,/mob/monster)) //if M (what's trying to enter the area) is a monster return 0 //return (which also stops the proc) 0 to disallow the movement return ..() //otherwise, call the default action and return it.