If I ever finish ScmStudio, I'll make a trigger editor that allows loops and functions. Like this:
CODE
#funct Explosion(unit unt, number quantity, location loc) {
# CreateUnitsAtLocation(unt, quantity, loc);
# KillUnitsAtLocation(unt, loc, all);
#}
So you could just use that when you want to create an explosion:
CODE
DisplayText(...);
Explosion(Terran Science Vessel, 9, Exp1);
PreserveTrigger();
Also I'll make two type of loops: inloops and outloops. Inloops will work inside a trigger:
CODE
Inloop(i = 0; i <= 31; i++) {
Wait(i);
}
that would generate:
CODE
Wait(0);
Wait(1);
Wait(2);
...
Wait(30);
and outloops will work with full triggers using the same method but creates a X amount of triggers.
Example of HyperTriggers script using loops:
CODE
OutLoop(i = 0; i < 5; i++) {
Trigger {
Players { Player 8 }
Conditions { Always(); }
Actions {
InLoop(j = 0; j <= 62; j++) {
Wait(0);
}
Comment("HyperTriggers");
PreserveTrigger();
}
}
}
that are my biggest ideas for a trigger editor.
[right][snapback]73198[/snapback][/right]
PLEASE PLEAS PLEASE! make that. It would so fun, easy, and powerful.