Post #1
SilentAlfa
Jun 27 2008, 12:53 pm
![[Avatar]](/images/avatars/8.gif)
|
Hello, I'm triggering a diplo map involving cities. There are 25 cities, and each city requires three triggers; a trigger for capturing the city, one for limiting the amount of bunkers in it and one for limiting the amount of cannons. I'm about a third of the way done through the 75 triggers, but I had an idea to reduce all 75 triggers to 4 triggers.
Instead of having a location for every city, what if I centered a location on a certain building which at the center of every city, and did the three triggers for this location instead of every seperate location? Would this work?
Hello, I'm triggering a diplo map involving cities. There are 25 cities, and each city requires three triggers; a trigger for capturing the city, one for limiting the amount of bunkers in it and one for limiting the amount of cannons. I'm about a third of the way done through the 75 triggers, but I had an idea to reduce all 75 triggers to 4 triggers.
Instead of having a location for every city, what if I centered a location on a certain building which at the center of every city, and did the three triggers for this location instead of every seperate location? Would this work?
|

Post #2
Clokr_
Jun 27 2008, 1:43 pm
![[Avatar]](/uploads/avatar/26.jpg)
Omg got a title!
|
It would perfectly work. However you have to give that building to another player to ensure that the next time that you center the location you center it over the building of another city. It'd work this way:
- While one player has buildings of that type center the location over a building and give the building to another player.
- Check the city (let the other triggers run on that location).
- When the player has no more buildings of that type give all of them back to the original player.
It would perfectly work. However you have to give that building to another player to ensure that the next time that you center the location you center it over the building of another city. It'd work this way:
- While one player has buildings of that type center the location over a building and give the building to another player. - Check the city (let the other triggers run on that location). - When the player has no more buildings of that type give all of them back to the original player.
_______________ G T C A A G T C \__________________________ C A G U···/¯¯¯¯\ A G T C G A G A T C A G T ··········\____/ T C A G C T C T A G T C A C A G T T C A G /¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯Was anyone missing my DNA signature? (yeah it is broken, I know it :/)
|

Post #3
[Vi3t-X]:]
Jun 30 2008, 4:11 am
![[Avatar]](/uploads/avatar/139.jpg)
Requiem™
|
OR
The ever so epic Zerg unit burrowed under a building! Similar to Clokr_'s. Your choice.
OR
The ever so epic Zerg unit burrowed under a building! Similar to Clokr_'s. Your choice.
Random Puzzle: So I saw this guy who jumped out of the window of a 10 story building. I don't know how, but he survived...
Previous Winner: Hug A Zergling.
Mafia Information: To avoid controversy, my previous Avatar was Rikku, and my previous siggy was two links, one to a rickroll video, and the other to Hikari's theme song.
|
Login to report
0 members in this topic: None
+ 0 guest(s)
You must log in to shout.