ok i am making an open rpg and when you go to the inn it stores your units and sets the inn switch(i have a switch for each player) ad if you go to teh yes beacon you get healed and sent back to teh town, an if you use no then u dotn get healed and you go back. the problem is if i add more towns(with more inns) how do i make it so it returns you to teh right town without useing more swiches or exra units?
Right before you send your unit to the inn yes/no place or whatever, have the trigger center a location to the place you want the unit to return to after they pick yes/no based on the town the person is in.
As long as you don't move that location for any other reason, when you have the trigger that sends the unit back to that location it will be in the same spot you last left it.
make a new location
1 for each town from the inn
I think that in an RPG, especially an Open RPG, locations are valuable.
Creating multiple locations for each of these locations is like saying create a location over every inn and building a unt can go into, rather than centering one location over the main unit.
Yet if all else fails and you have locations to spare then by all means create more locations. Although most of the time when you save locations you save yourself the hassle of making a lot of triggers.
if for w/e reason you need to move the location centered around the hero, you can always create a unit at the building entrance when you send the hero in. and when you bring him back out, center the location on that unit before moving the hero
One question: how many units can the player control at once? Is it like 1 unit that is the character for the person?
Burrowed units are convenient, going after what Zeratul said. Just create a zergling/hydralisk/drone for whichever play when they enter it, and if they go to "no" or "yes" have them move to a centered location above that burrowed unit.