I have a problem where the monsters in my game step into turfs that are assigned to teleport the player to a different location..the bad thing is the monster also can go through, how would i fix this?
-NilFisk
ID:179261
Jan 27 2002, 1:03 am
|
|
In response to The Wizard of How
|
|
That code will work, but it's not efficent, here's another code that does the same thing:
turf/teleport |
In response to Nadrew
|
|
Thanks for that i was getting annoying with my monsters raiding the towns ^_^
-NilFisk |
mob
var
Human
turf
town
Entered(mob/M as mob)
if(M.Human >= 1)
M.loc = locate("Town")
else
return
Hope I helped.
?The Wizard of How¿
P.S Remember this is untested