ID:145403
 
Code:teleport to other map
turf/Teleporter//the name of our turf
icon='hogsmead.dmi'
Entered(mob/M)
if(istype(M,/mob))//is it a mob that entered?
M.loc=locate(1,1,1,'Hogsmead.dmp')


Problem description:teleport.dm:100:error:locate :expected 0 to 3 arguments (found 4).& teleport.dm:100:error::missing expression. its all on the
M.loc=locate(1,1,1,'Hogsmead.dmp')
part heeelllllpppp plz

will someone help me plz
tat is a wierd code u have set up dont set a name just make a z level for hogsmead and do something like
M.loc=locate(1,1,2)
In response to VolksBlade
Just make a Z level for that map it will save space and will compile faster.
In response to Mxjerrett
i cant i need spacific sizes for the map so i have to do different mapps someone plz help me
In response to VolksBlade
look up swapmaps library