Ok, Map001_Spot, Map002_Spot
if(usr.z == "Map001_Spot.dmp")
usr.Move(locate(1,1,"Map003_Battle.dmp"))
if(usr.z == "Map002_Spot.dmp")
usr.Move(locate(1,1,"Map004_Battle.dmp"))
Login()
//My stuff
if("Hero")
usr.loc = locate(1,1,"Map001_Spot.dmp")
else
usr.loc = locate(1,1,"Map002_Spot.dmp")
The problem is, Nomatter What you start at Map 1 and go to map 3! Assistance is required!
ID:149623
Mar 24 2002, 6:54 pm
|
|
The third argument to locate is a number, not the name of the map you want.
You need to actually be aware of what order your .dmps will appear in the file and manually jump to them.
For example, here are the .dmps. Each has only one Z level (the default) for simplicity.
super.dmp
cali.dmp
fragi.dmp
listic.dmp
expi.dmp
ala.dmp
docious.dmp
Each of the map is automatically included in alphabetical order if you click on the checkmark in the files box on the left side of Dream Maker.
Thus, the order would be:
ala.dmp
cali.dmp
docious.dmp
expi.dmp
fragi.dmp
listic.dmp
super.dmp
The order that a particular .dmp shows up in is its "Z level". Thus, ala.dmp has a Z level of 1, cali.dmp has a Z level of 2, docious.dmp has a Z level of 3, and so on.
If you wanted to move someone to 32, 34 on fragi.dmp, for example, you'd use
usr.loc = locate(32, 34, 5)
Alternately, you could create special turfs on your maps and then use the Instance Editor tool in the Map Editor (just right-click on the turf you want people to go to and choose Edit) and set the tag variable to some value, like "Map3 battle".
Then you can just do
usr.loc = locate("Map3 battle")