I have 1,380 fairly linear triggers I need to implement, and I'm wondering if there's a program or way to generate these automatically so I don't spend 10+ hours (or more) doing this. I have only used the "Classic Map Triggers" editor in SCM Draft.
This is in relation to my last post, and the situation is this: P1, P2, and P3 (Team Warm) are all on a team against P4, p5, and P6 (Team Cool). Each player controls 1 zergling throughout the game. For each player on Team Warm, I would like to track which player's zergling from Team Cool is in closest proximity to that Team Warm player's zergling. I would also like to do this for Team Cool to Team Warm.
So, I have created 10 locations for each player that center on that player's zergling. They are organized like this:
For each location 10, 9, 8, etc. there are 23 possibilities of who is closest. This is because if P4 and P5 are both in location "10" and P6 is nowhere to be found, then I randomize two switches for the game to determine who is closest between P4 and P5. So half of the time P4 will be set as the closest and half of time P5 will be (if they are both equally close). The same holds true for combinations P4 and P6; P5 and P6; and P4, P5, and P6 all being equally close.
Here's an example of some of the triggers: (a note on my organization: i use "DC" to stand for Death Counter)
P4 Is Closest To P1 So Set P4 As The Target
Players
Conditions
Actions
P5 Is Closest To P1 So Set P5 As The Target
Players
Conditions
Actions
P6 Is Closest To P1 So Set P6 As The Target
Players
Conditions
Actions
P4 & P5 are Equidistant So Randomize
Players
Conditions
Actions
Randomization Says P4 is Closest
Players
Conditions
Actions
....
....
....
And so on and so on. I think you get the idea.
In total it takes 23 triggers for each location 10, 9, 8, 7, 6, 5....etc. for a total of 230 per player. Times this by 6 players and I have 1,380 triggers and a lot of monotonous work using "Classic Map Triggers". I've heard of programs that can auto generate triggers and I thought this would be a perfect time. The triggers are pretty straight forward and predictable/programable I think.
So can anyone help me? Is there a way to do this without spending hours of my life?
Thanks a lot guys, and thanks for all your help so far
None.