Code
Trigger("Player 1"){
Conditions:
Bring("Current Player", "Protoss Pylon", "Anywhere", Exactly, 1);
Actions:
Move Location("Current Player", "Protoss Pylon", "Anywhere", "Air Support target");
Wait(500);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Current Player", "Protoss Pylon", "Air Support target", Exactly, 1);
Switch("Switch9", not set);
Actions:
Remove Unit("Current Player", "Protoss Probe");
Set Switch("Switch9", set);
Create Unit with Properties("Player 6", "Tom Kazansky (Wraith)", 1, "Air Support origin", 2);
Order("Player 6", "Tom Kazansky (Wraith)", "Air Support origin", "Air Support target", move);
Wait(3000);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 6", "Tom Kazansky (Wraith)", "Air Support target", At least, 1);
Actions:
Create Unit("Player 6", "Protoss Dark Archon", 16, "Air Support target");
Kill Unit At Location("All players", "Any unit", All, "Air Support target");
Wait(1000);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Bring("Current Player", "Tom Kazansky (Wraith)", "Air Support target", At least, 1);
Actions:
Create Unit("Current Player", "Protoss Dark Archon", 16, "Air Support target");
Kill Unit At Location("All players", "Any unit", All, "Air Support target");
Set Switch("Switch9", clear);
Wait(1000);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Bring("Current Player", "Tom Kazansky (Wraith)", "Air Support target", Exactly, 1);
Actions:
Order("Current Player", "Tom Kazansky (Wraith)", "Air Support target", "Air Support origin", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Bring("Current Player", "Tom Kazansky (Wraith)", "Air Support origin", Exactly, 1);
Switch("Switch9", not set);
Actions:
Remove Unit At Location("Current Player", "Tom Kazansky (Wraith)", 1, "Air Support origin");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Conditions:
Bring("Current Player", "Protoss Pylon", "Anywhere", Exactly, 1);
Actions:
Move Location("Current Player", "Protoss Pylon", "Anywhere", "Air Support target");
Wait(500);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Current Player", "Protoss Pylon", "Air Support target", Exactly, 1);
Switch("Switch9", not set);
Actions:
Remove Unit("Current Player", "Protoss Probe");
Set Switch("Switch9", set);
Create Unit with Properties("Player 6", "Tom Kazansky (Wraith)", 1, "Air Support origin", 2);
Order("Player 6", "Tom Kazansky (Wraith)", "Air Support origin", "Air Support target", move);
Wait(3000);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 6", "Tom Kazansky (Wraith)", "Air Support target", At least, 1);
Actions:
Create Unit("Player 6", "Protoss Dark Archon", 16, "Air Support target");
Kill Unit At Location("All players", "Any unit", All, "Air Support target");
Wait(1000);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Bring("Current Player", "Tom Kazansky (Wraith)", "Air Support target", At least, 1);
Actions:
Create Unit("Current Player", "Protoss Dark Archon", 16, "Air Support target");
Kill Unit At Location("All players", "Any unit", All, "Air Support target");
Set Switch("Switch9", clear);
Wait(1000);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Bring("Current Player", "Tom Kazansky (Wraith)", "Air Support target", Exactly, 1);
Actions:
Order("Current Player", "Tom Kazansky (Wraith)", "Air Support target", "Air Support origin", move);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Bring("Current Player", "Tom Kazansky (Wraith)", "Air Support origin", Exactly, 1);
Switch("Switch9", not set);
Actions:
Remove Unit At Location("Current Player", "Tom Kazansky (Wraith)", 1, "Air Support origin");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Yes, I realize there are switches in there, I'll change it later (maybe).
P.S.: This isn't my map for the summer mapping contest.
Attachments:
None.