- Joined
- Feb 1, 2009
- Messages
- 107
I need to make a trigger that copies regions in my map, like this:
When the player chooses the race he's going to play with, he'll start the game at a random place, with and environment specific to that race. So I have to "Spawn" all the race's buildings in specific locations with specific distances from each other. That is easy if I have preset regions, then I just spawn each thing in the regions. But as the starting location for each player is going to be random, I was thinking of having pre-designed environments somewhere (not accessible for players) in the map, with the specific regions. Then, when the player chooses his race, I'd have to copy this regions exactly how they are positioned in the pre-designed place, to the place the player is, and then spawn what I want.
So, to make it short, I just need to know how do I copy a preset group of regions to another place.
When the player chooses the race he's going to play with, he'll start the game at a random place, with and environment specific to that race. So I have to "Spawn" all the race's buildings in specific locations with specific distances from each other. That is easy if I have preset regions, then I just spawn each thing in the regions. But as the starting location for each player is going to be random, I was thinking of having pre-designed environments somewhere (not accessible for players) in the map, with the specific regions. Then, when the player chooses his race, I'd have to copy this regions exactly how they are positioned in the pre-designed place, to the place the player is, and then spawn what I want.
So, to make it short, I just need to know how do I copy a preset group of regions to another place.