ID:269308
 
To check if a player is located on a certain turf/area would I simply do...(Im tring to check it everytime I move)
mob
Move()
if(src.loc==/area/Shop)
src.Show_Shop = 1
..()

But it doesnt work! I haven't ever tried to check what turf its on before, so thats why I am asking.
area/Shop
Entered(mob/M)
if(ismob(M))
M.Show_Shop = 1
Exited(mob/M)
if(ismob(M))
M.Show_Shop = 0


That should work.
In response to N1ghtW1ng
I know that, but lets say a GM summons him!? Then he still has the Shop proc, and I am trying to get all the little things that could go wrong, outa the way.
In response to ITG Master
I don't think so. Once a player moves, Move() is called and then you Exit (Exited()). I think that is how it works. Try it out anyway.
mob/Move(newloc,newdir=0)
..()
var/turf/T
if(isturf(newloc))
T=newloc
if(istype(T.loc,/area/Shop))
show_shop=1


I think that will work...
[edit]
If that doesn't work, do:
mob/Move()
..()
if(istype(loc.loc,/area/Shop))
show_shop=1