Objs and Areas in Developer Help
|
|
Code:
Enter() if(istype(usr,/mob/player)||istype(usr,/mob/MizuBunshin)) return 1 if(istype(usr,/mob/Pet)) usr.icon_state="swim" return 1 if(istype(usr,/obj/)) world<<"Success" return 1
|
Problem description:
It lets everything that is defined in, except objs...
|
And do return..() instead of return 1... return..() will check all other info to see if the person can walk in (eg: dense object will deny walk into) while return 1 will force pass them through.. I think
- GhostAnime