ID:1831875
 
(See the best response by LordAndrew.)
Code:
area
NymphBlock
Enter()
if (istype(src,/mob/Enemies/Nymph/))
return 0
else return ..()


Problem description:
I want all the other enemies to be able to freely pass through the area, while the nymphs being denied. I've tried multiple versions similar to the code above but nothing seems to work.

The nymphs freely pass over the area. I'm so confused.
Any insight?
Best response
src within area.Enter() is going to point to the area itself. You need to utilize Enter()'s arguments:

area/NymphBlock/Enter(atom/movable/mover)
if (istype(mover, /mob/Enemies/Nymph))
return FALSE

return ..()

Ahhhh thank you!