Ok, just wondering if this can be done my way?
Code is:
area/
npc_passcheck
Enter(mob/npc/M)
if(M:passlevel == 1)
return
I want to allow for PCs to enter and exit the area with no prob. As they do not have a passlevel. But it prevents the NPCs from entering. Also I can later assign different passlevels to allow some NPCs to enter but not others.
ID:149970
![]() Jan 14 2002, 9:04 pm
|
|
![]() Jan 14 2002, 10:55 pm
|
|
Another way to do it would be to check the mobs type, using istype, but your way allows some npcs to enter the area, if you so choose.
|