- Joined
- Feb 27, 2009
- Messages
- 115
I'm not sure how to make a trigger for this one. It should be easy, but I am having difficulty.
When my map starts, depending on what race the player is, their towers will be their race's (for example, Undead will have ziggeraut, not 'cannon tower'.) There are many, many towers to replace.
I could make 100 small locations and specifically 'create' the towers there out of thin air. However, this would be time consuming to do, would clutter the map with locations, and I don't like it.
I have placed the towers all of a certain type and have tried to replace them all with another. But I haven't been able to figure out how to do this. Maybe it is possible in the flexibility of JASS, I have been going in circles in the GUI.
Another possibility I thought was starting everyone out with scout towers and just make a trigger 'upgrade' them to the way they are supposed to go.
Is there any way to replace a building with another without a specific location for that one building?
When my map starts, depending on what race the player is, their towers will be their race's (for example, Undead will have ziggeraut, not 'cannon tower'.) There are many, many towers to replace.
I could make 100 small locations and specifically 'create' the towers there out of thin air. However, this would be time consuming to do, would clutter the map with locations, and I don't like it.
I have placed the towers all of a certain type and have tried to replace them all with another. But I haven't been able to figure out how to do this. Maybe it is possible in the flexibility of JASS, I have been going in circles in the GUI.
Another possibility I thought was starting everyone out with scout towers and just make a trigger 'upgrade' them to the way they are supposed to go.
Is there any way to replace a building with another without a specific location for that one building?