ID:269088
 
Like, if you do something like...
turf/enterme
Entered(mob/M)
if(ismob(M)&&M.client)
M << "Enterage'd"
world << "Enterage'd by [M]"
//Make one of those and...
mob/verb/lawl()
var/turf/enterme/q=/turf/enterme
src.loc=locate(q)
/*None of these work:
q.Entered(src)
src.Entered(q)*/

It won't call Entered(). :(
How would I max it work? :o
Thanks for reading.
Setting loc directly doesn't call Enter() and family. They only get called when you Move().
In response to tenkuu
tenkuu wrote:
Setting loc directly doesn't call Enter() and family. They only get called when you Move().

Is there anyway to make something similar to it? o.O
for(var/turf/T in src.loc)
T.effect()
or something, because I can't get that to work. :(
In response to Hell Ramen
I am not sure exactly what you are trying to do, but couldn't you just check view(src)?
In response to N1ghtW1ng
N1ghtW1ng wrote:
I am not sure exactly what you are trying to do, but couldn't you just check view(src)?

I'm trying to call a proc when a mob enters a turf, but not by Move(). :'(
In response to Hell Ramen
How about something like this. I noticed from your original post that you were trying to use Entered() for a type path rather than on an actual turf.
mob/verb/test()
var/turf/T = get_step(src,NORTH)
loc = T
T.Entered(src)
In response to tenkuu
Yay, I got it, thanks Tenkuu. :o