I'm redoing a God's Land map (just for something to do) and thought of something as I was adding Unit Creation for players 1-6 for every single unit.
A nice little function that will replace text in a trigger, I.E:
COND:
Bring(P7, Exactly, 1, Finger, PArchon);
Bring(P7, Exactly, 1, Finger, Power Unit 2);
ACT:
CreateUnit(1, Tassadar/Zeratul Archon, Give 2, P2);
Wait(2000);
PreserveTrigger();
Comment("PArchon2");
Now replace 2 with 3 to make:
COND:
Bring(P7, Exactly, 1, Finger, PArchon);
Bring(P7, Exactly, 1, Finger, Power Unit 3);
ACT:
CreateUnit(1, Tassadar/Zeratul Archon, Give 3, P3);
Wait(2000);
PreserveTrigger();
Comment("PArchon3");
MUCH easier than replacing all of them yourself. Obviously wouldn't work for Player 1 because of bringing exactly 1 finger, but you get the idea.
Also - don't flame me if I didn't put this in the right place. The description DOES say "discuss StarEdit" and StarForge is in that category.
i think what your asking is for there to be an option that will quickly copy a trigger from player 1 to another player whilst making it apply to that other players locations, and not player 1's locations. If so, i've always wanted this option, i think it could be done if you made locations ownable by players, just in starforge for ease of making these.
No, not player control of locations, but simple text. All it needs is a "Replace text" function for a trigger, much like any word-processing program.
Search for a tool called Macro Express. Its basicly a program that can record keyboard and mouse movements and play them back. You can write scripts from scrap and have loop functions.
I use it when i have alot of triggers where each of them is just a little differant than the one above it. Like the money for kills triggers.
Beyond that some times centering locations can work to you advantage by allowing the players to share the same trigger. Its more complex but it saves you time createing the triggers.
SF is going to be loops if heimdal finish them. So you can have a trigger like this:
Trigger:
-Player: X
Cond:
-Bring 5 any units to locX
Actions:
-Kill 1 unit for current player
And then do a loop: X=1 to 8 and SF will generate:
Trigger:
-Player: 1
Cond:
-Bring 5 any units to loc1
Actions:
-Kill 1 unit for current player
Trigger:
-Player: 2
Cond:
-Bring 5 any units to loc2
Actions:
-Kill 1 unit for current player
Trigger:
-Player: 3
Cond:
-Bring 5 any units to loc3
Actions:
-Kill 1 unit for current player
·
·
·
Trigger:
-Player: 8
Cond:
-Bring 5 any units to loc8
Actions:
-Kill 1 unit for current player
I dont know if heimdal will finish trigger loops.