I have multiple towns and inns in my game, but I want it to when you enter, then leave it takes you to the right town, the game doesnt know where i entered from and want to exit to, i want multiple towns to be able to use the same inn and exit into their own town, can i do this and how?
Switches. You enter from town A, town A switch goes on. When you leave, town A switch will tell the computer where to send you.
Shoulda thought of that

thanks
Or ofcourse you can muck around with everything else, Switches sometimes don't work on the internet...
Yeah well switches don't work on my comp either. I really need to get a real sc...
Or, you can use units as switches. When there is unit A at location switch, move to location town. Or whatever, you get the point. Just create a unit at a specific location to turn the switch on.
I still don't understand switches...
Okay, switches have two states: on and off. Now you can turn switches on or off through triggers, by the default, at the beginning of the game, triggers are all off. Now, you can have triggers that says if switch A is on, then kill everything on nthe map. Or, maybe if current player brings one unit to location A, turn on switch A. And so on and so forth.
Why do people always name their switches stuff like "31" and "33" instead of normal names?
Actually, not naming a switch at all is the best idea, since renaming one switch uses one string from your map.
Plus numerical signs/names are somewhat easier to manage... just like 1,2,3...
Thats what I thought, but in all the maps I see, all the switches are really complicated.
The default switch names are Switch 1, Switch 2, etc... It doesn't matter if it confuses you and others, so long as the person who made the map knows what it does. You only get 1024 text strings in a map, and switches are ones you can afford not to use. Unless you're making a small map that won't need all the strings, go right ahead. (I have yet to use them all

) I hear freaky stuff happens if you use them all though, like crashes and random deletions or map corruption.