I am trying to make it so when you have a certain var(Key)
you can walkthrough a turf of a density with one
and not just make the density of the player 0 becuase to many bad things happen that way
This is what i have
mob/var/Key
turf
InvisWall
Enter(mob/M as mob)
if(density==1)
if(M.Key == 1)
src.density=0
..()
else
return
So can someone please help
Thanx
Copyright © 2024 BYOND Software.
All rights reserved.
mob/var/pass //can you pass through walls?
turf/Wall
Enter(mob/M)
if(ismob(M))
if(M.pass) return ..()
else return 0
Something like that should work.