ID:269102
 
            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
Hell Ramen wrote:
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)

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
In response to Lummox JR
Nevermind, Lummox, I figured it out. :p
Also, I mean that I didn't get swapmaps...not one bit, so I didn't know how to use it. =/
Well, thanks!