if(src.monsterspawn=="field")
for(var/area/field/area in world)
if(!locate(/mob) in area.contents)
src.loc=area
src.dir=WEST
break
I've read (a) swapmap demo, and tons (1-3) of tutorials for it, and don't get it.
So, I tried to do that (the code above), but no more than 1 player can go on a map. (There's 5 places with /area/field on them)
Thanks for reading,
~Ramen
You didn't really post enough code for anyone to be able to figure this out. For one thing, it doesn't even include any calls to the SwapMaps library.
Lummox JR