I have a headache... I THINK this is the correct way to do this, right?
Setup: 8 different burrowed zerg units throughout the "town".
Goal: Units in the town to patrol randomly among the 8 burrowed units.
Goal: Using only TWO locations.
Basicaly:
-Set randomize Switches
-Move Location
-If switches are THIS
(8 different times, for the 8 outcomes)
-Then Order, move, to Burrow1
-Move Location
-I switches are THIS
-Then Order, move, to Burrow2
-Move Location
-I switches are THIS
-Then Order, move, to Burrow3
ETC ETC...
I've already spent like 20minues on this and I'm only through 2 out of 8 sets. Am I doing this right? I tend to always take the LONG road to accomplish things. Triggers posted below.
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Always();
Actions:
Set Switch("Switch1", randomize);
Set Switch("Switch2", randomize);
Set Switch("Switch3", randomize);
Preserve Trigger();
Comment("Switch1, 2, 3 - Randomize permanently");
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Always();
Actions:
Move Location("Player 7", "Zerg Defiler", "TownHumanPatrol(START)(scroll)", "TownHumanArea");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Unclean One (Defiler)", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Zerg Defiler", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", not set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Zerg Zergling", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", not set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Devouring One (Zergling)", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Hunter Killer (Hydralisk)", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Zerg Drone", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", not set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Zerg Hydralisk", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", not set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Zerg Lurker", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Always();
Actions:
Move Location("Player 7", "Unclean One (Defiler)", "TownHumanPatrol(START)(scroll)", "TownHumanArea");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Unclean One (Defiler)", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Zerg Defiler", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", not set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Devouring One (Zergling)", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Hunter Killer (Hydralisk)", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Zerg Drone", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", not set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Zerg Hydralisk", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", not set);
Switch("Switch2", not set);
Switch("Switch3", not set);
Actions:
Move Location("Player 7", "Zerg Lurker", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Switch1", set);
Switch("Switch2", not set);
Switch("Switch3", set);
Actions:
Move Location("Player 7", "Zerg Zergling", "TownHumanArea", "TownHumanPatrol(END)(scroll)");
Order("Player 7", "Terran Civilian", "TownHumanPatrol(START)(scroll)", "TownHumanPatrol(END)(scroll)", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
EDIT EDIT EDIT:
So I just caught the TownHumanArea and TownHumanPatrol(START)(scroll) are now INVERTED, it was an error previously.... off to continue writing it.
Post has been edited 1 time(s), last time on Oct 4 2009, 6:15 pm by Drakiel.
None.