Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Another Battle System Problem
Another Battle System Problem
Jun 19 2009, 7:10 pm
By: Vrael  

Jun 19 2009, 7:10 pm Vrael Post #1



In my map's battle system, each trigger that enters you into a battle sets a switch for a player as sort of a global "YES I AM IN A BATTLE" thing, which can then be used for other triggers conditions and stuff. Unfortunately, with the introduction of Player vs. Player battles in my map, there is now some way to set this switch and never have it cleared when you exit a battle. As I see it, there are 3 ways to exit a battle: Dying, the regular Victory Trigger, and the "Generic Victory" trigger (basically you didn't actually fight anything). For Player 1, the battle switch is Switch7, and all 3 of these triggers (dying, victory, and generic victory) clear the switch properly as you can see in the triggers below. I can't figure out what could be causing this switch to be set, or how you can exit a fight aside from these 3 methods and have it set still. Hopefully someone can take a look at these and spot something.



Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 0);
Deaths("Player 1", "Zerg Zergling", Exactly, 0);
Deaths("Player 1", "Terran Ghost", Exactly, 0);
Deaths("Player 1", "Jim Raynor (Marine)", Exactly, 0);
Deaths("Player 1", "Protoss Zealot", Exactly, 0);
Deaths("Player 1", "Zerg Ultralisk", Exactly, 0);
Deaths("Player 1", "Aldaris (Templar)", Exactly, 0);
Deaths("Player 1", "Tassadar (Templar)", Exactly, 0);
Deaths("Player 1", "Terran Goliath", Exactly, 0);
Deaths("Player 1", "Hunter Killer (Hydralisk)", Exactly, 0);
Deaths("Player 1", "Terran Vulture", Exactly, 0);

Actions:
Set Deaths("Player 1", "Kyadarin Crystal Formation", Set To, 1);
Preserve Trigger();
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Scanner Sweep", At least, 1);
Deaths("Player 1", "Kyadarin Crystal Formation", At least, 1);

Actions:
Set Deaths("Player 1", "Kyadarin Crystal Formation", Set To, 0);
Preserve Trigger();
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Terran Firebat", Exactly, 2);
Switch("Switch7", set);
Deaths("Player 1", "Scanner Sweep", At least, 1);

Actions:
Set Deaths("Player 1", "Scanner Sweep", Set To, 0);
Remove Unit At Location("Player 12", "Terran Marine", All, "Location 125");
Set Switch("Switch7", clear);
Set Deaths("Current Player", "Artanis (Scout)", Set To, 0);
Display Text Message(Always Display, "Hero Loss Fired");
Preserve Trigger();
Comment("Hero Loss");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Terran Marine", Exactly, 2);
Switch("Switch7", set);
Deaths("Player 1", "Scanner Sweep", At least, 1);

Actions:
Set Deaths("Player 1", "Scanner Sweep", Set To, 0);
Remove Unit At Location("Player 12", "Terran Marine", All, "Location 125");
Set Switch("Switch7", clear);
Set Deaths("Current Player", "Artanis (Scout)", Set To, 0);
Display Text Message(Always Display, "Hero Loss Fired");
Preserve Trigger();
Comment("Hero Loss");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Zerg Hydralisk", Exactly, 2);
Switch("Switch7", set);
Deaths("Player 1", "Scanner Sweep", At least, 1);

Actions:
Set Deaths("Player 1", "Scanner Sweep", Set To, 0);
Remove Unit At Location("Player 12", "Terran Marine", All, "Location 125");
Set Switch("Switch7", clear);
Set Deaths("Current Player", "Artanis (Scout)", Set To, 0);
Display Text Message(Always Display, "Hero Loss Fired");
Preserve Trigger();
Comment("Hero Loss");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Zeratul (Dark Templar)", Exactly, 2);
Switch("Switch7", set);
Deaths("Player 1", "Scanner Sweep", At least, 1);

Actions:
Set Deaths("Player 1", "Scanner Sweep", Set To, 0);
Remove Unit At Location("Player 12", "Terran Marine", All, "Location 125");
Set Switch("Switch7", clear);
Set Deaths("Current Player", "Artanis (Scout)", Set To, 0);
Display Text Message(Always Display, "Hero Loss Fired");
Preserve Trigger();
Comment("Hero Loss");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Terran Marine", Exactly, 2);
Switch("Switch24", not set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Terran Marine", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Set Switch("Switch19", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Terran Firebat", Exactly, 2);
Switch("Switch24", not set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Terran Firebat", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Set Switch("Switch19", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Zerg Hydralisk", Exactly, 2);
Switch("Switch24", not set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Zerg Hydralisk", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Set Switch("Switch19", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Zeratul (Dark Templar)", Exactly, 2);
Switch("Switch24", not set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Set Switch("Switch19", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Terran Marine", Exactly, 2);
Switch("Switch24", set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Terran Marine", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Terran Firebat", Exactly, 2);
Switch("Switch24", set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Terran Firebat", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Zerg Hydralisk", Exactly, 2);
Switch("Switch24", set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Zerg Hydralisk", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Player 1", "Zeratul (Dark Templar)", Exactly, 2);
Switch("Switch24", set);

Actions:
Create Unit("Player 1", "Zeratul (Dark Templar)", 1, "Location 34");
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 34", enabled);
Modify Unit Hit Points("Player 1", "Zeratul (Dark Templar)", 5, 0, "Location 34");
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 0);
Move Location("Player 1", "Protoss Robotics Support Bay", "Anywhere", "Location 121");
Set Deaths("Player 1", "Cave-in", Set To, 1);
Set Deaths("Player 1", "Zeratul (Dark Templar)", Set To, 1);
Set Deaths("Player 1", "Terran Medic", Set To, 1);
Center View("Location 34");
Set Switch("Switch24", clear);
Preserve Trigger();
Comment("Respawn");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Deaths("Foes", "Tank Turret type 1", Exactly, 1);
Bring("Player 1", "Men", "Location 121", At least, 1);
Bring("Player 2", "Men", "Location 121", At least, 1);
Switch("Switch7", not set);
Switch("Switch8", not set);
Deaths("Player 1", "Floor Hatch (UNUSED)", Exactly, 0);
Deaths("Player 2", "Floor Hatch (UNUSED)", Exactly, 0);
Bring("Player 1", "Terran Firebat", "Location 128", Exactly, 0);
Bring("Player 1", "Terran Marine", "Location 128", Exactly, 0);
Bring("Player 1", "Zerg Hydralisk", "Location 128", Exactly, 0);
Bring("Player 1", "Zeratul (Dark Templar)", "Location 128", Exactly, 0);

Actions:
Set Switch("Switch7", set);
Set Switch("Switch8", set);
Move Location("Player 1", "Men", "Location 121", "Location 125");
Move Location("Player 2", "Men", "Location 122", "Location 136");
Move Location("Player 8", "Map Revealer", "Location 162", "Location 128");
Move Location("Player 8", "Map Revealer", "Location 162", "Location 133");
Move Unit("Player 1", "Terran Firebat", All, "Anywhere", "Location 126");
Move Unit("Player 1", "Terran Marine", All, "Anywhere", "Location 126");
Move Unit("Player 1", "Zerg Hydralisk", All, "Anywhere", "Location 126");
Move Unit("Player 1", "Zeratul (Dark Templar)", All, "Anywhere", "Location 126");
Move Unit("Player 2", "Terran Firebat", All, "Anywhere", "Location 127");
Move Unit("Player 2", "Terran Marine", All, "Anywhere", "Location 127");
Move Unit("Player 2", "Zerg Hydralisk", All, "Anywhere", "Location 127");
Move Unit("Player 2", "Zeratul (Dark Templar)", All, "Anywhere", "Location 127");
Set Invincibility("The Tenebrous", "Men", "Location 128", disabled);
Set Invincibility("The Tenebrous", "Men", "Location 133", disabled);
Create Unit("Player 1", "Terran Marine", 1, "Location 125");
Give Units to Player("Player 1", "Player 12", "Terran Marine", 1, "Location 125");
Create Unit("Player 2", "Terran Marine", 1, "Location 136");
Give Units to Player("Player 2", "Player 12", "Terran Marine", 1, "Location 136");
Set Invincibility("Player 12", "Terran Marine", "Location 125", enabled);
Set Invincibility("Player 12", "Terran Marine", "Location 136", enabled);
Set Deaths("Player 1", "Scanner Sweep", Set To, 1);
Set Deaths("Player 2", "Scanner Sweep", Set To, 1);
Set Deaths("Player 1", "Floor Hatch (UNUSED)", Set To, 70);
Set Deaths("Player 2", "Floor Hatch (UNUSED)", Set To, 70);
Preserve Trigger();
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Foes", "Men", "Location 128", Exactly, 0);
Deaths("Player 1", "Scanner Sweep", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 60);
Bring("Player 1", "Men", "Location 128", At least, 1);

Actions:
Remove Unit At Location("Player 12", "Terran Marine", All, "Location 125");
Center View("Location 125");
Set Invincibility("The Tenebrous", "Men", "Location 128", enabled);
Move Unit("Player 1", "Terran Marine", All, "Location 128", "Location 125");
Move Unit("Player 1", "Zerg Hydralisk", All, "Location 128", "Location 125");
Move Unit("Player 1", "Zeratul (Dark Templar)", All, "Location 128", "Location 125");
Move Unit("Player 1", "Terran Firebat", All, "Location 128", "Location 125");
Set Deaths("Player 1", "Floor Hatch (UNUSED)", Set To, 60);
Set Deaths("Player 1", "Scanner Sweep", Set To, 0);
Set Switch("Switch7", clear);
Preserve Trigger();
Display Text Message(Always Display, "PVP Victory Trigger Fired");
}

//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);

Actions:
Set Invincibility("Player 1", "Men", "Location 128", enabled);
Move Unit("Player 1", "Terran Marine", All, "Location 128", "Location 125");
Move Unit("Player 1", "Zerg Hydralisk", All, "Location 128", "Location 125");
Move Unit("Player 1", "Zeratul (Dark Templar)", All, "Location 128", "Location 125");
Move Unit("Player 1", "Terran Firebat", All, "Location 128", "Location 125");
Set Deaths("Player 1", "Floor Hatch (UNUSED)", Set To, 50);
Center View("Location 125");
Set Switch("Switch7", clear);
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);

Actions:
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Move Location("Player 1", "Protoss Observer", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//



None.

Jun 19 2009, 7:11 pm Vrael Post #2



Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Move Location("Player 1", "Zerg Scourge", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Move Location("Player 1", "Protoss Observer", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Move Location("Player 1", "Zerg Scourge", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Move Location("Player 1", "Protoss Observer", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Post has been edited 1 time(s), last time on Jun 19 2009, 7:19 pm by Vrael.



None.

Jun 19 2009, 7:15 pm Vrael Post #3



Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Move Location("Player 1", "Zerg Scourge", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Move Location("Player 1", "Protoss Observer", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Zerg Scourge", 1, "Location 125");
Create Unit("Player 1", "Protoss Observer", 1, "Location 125");
Give Units to Player("Player 1", "Player 9", "Protoss Observer", 1, "Location 125");
Create Unit("Player 1", "Zerg Scourge", 1, "Location 125");
Move Location("Player 1", "Zerg Scourge", "Location 125", "M2");
Create Unit("Player 1", "Zerg Broodling", 1, "M2");
Give Units to Player("Player 9", "Player 1", "Zerg Scourge", All, "Location 125");
Give Units to Player("Player 9", "Player 1", "Protoss Observer", 1, "Location 125");
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", At least, 1);

Actions:
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Move Location("Player 1", "Zerg Broodling", "Location 125", "Location 125");
Remove Unit At Location("Player 1", "Zerg Broodling", All, "Location 125");
Set Invincibility("Player 1", "Men", "Location 128", enabled);
Move Unit("Player 1", "Terran Firebat", All, "Location 128", "Location 125");
Move Unit("Player 1", "Terran Marine", All, "Location 128", "Location 125");
Move Unit("Player 1", "Zerg Hydralisk", All, "Location 128", "Location 125");
Move Unit("Player 1", "Zeratul (Dark Templar)", All, "Location 128", "Location 125");
Set Deaths("Player 1", "Floor Hatch (UNUSED)", Set To, 60);
Center View("Location 125");
Set Switch("Switch7", clear);
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Created by: Vrael@USEast", "Men", "Location 128", Exactly, 0);
Bring("Foes", "Men", "Location 128", Exactly, 0);
Bring("Player 1", "Men", "Location 128", At least, 1);
Deaths("Player 1", "Floor Hatch (UNUSED)", At most, 50);
Deaths("Player 1", "Kyadarin Crystal Formation", Exactly, 1);
Bring("Player 1", "Zerg Broodling", "Location 125", Exactly, 0);

Actions:
Remove Unit At Location("Player 1", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 1", "Zerg Scourge", All, "Location 125");
Remove Unit At Location("Player 9", "Protoss Observer", All, "Location 125");
Remove Unit At Location("Player 9", "Zerg Scourge", All, "Location 125");
Move Location("Player 1", "Zerg Broodling", "Location 125", "Location 125");
Remove Unit At Location("Player 1", "Zerg Broodling", All, "Location 125");
Set Invincibility("Player 1", "Men", "Location 128", enabled);
Move Unit("Player 1", "Terran Firebat", All, "Location 128", "Location 59");
Move Unit("Player 1", "Terran Marine", All, "Location 128", "Location 59");
Move Unit("Player 1", "Zerg Hydralisk", All, "Location 128", "Location 59");
Move Unit("Player 1", "Zeratul (Dark Templar)", All, "Location 128", "Location 59");
Set Deaths("Player 1", "Floor Hatch (UNUSED)", Set To, 60);
Center View("Location 59");
Set Switch("Switch7", clear);
Preserve Trigger();
Comment("Generic Victory Hero");
}

//-----------------------------------------------------------------//


Trigger("Player 1"){
Conditions:
Bring("Player 1", "Men", "Location 136", At least, 1);
Switch("Switch8", set);
Deaths("Player 1", "Floor Hatch (UNUSED)", Exactly, 0);
Switch("Switch7", not set);
Switch("Switch43", set);

Actions:
Set Switch("Switch7", set);
Move Location("Player 1", "Men", "Location 121", "Location 125");
Move Location("Player 9", "Zerg Drone", "Location 133", "Location 128");
Move Unit("Player 1", "Terran Firebat", All, "Location 121", "Location 128");
Move Unit("Player 1", "Terran Marine", All, "Location 121", "Location 128");
Move Unit("Player 1", "Zerg Hydralisk", All, "Location 121", "Location 128");
Move Unit("Player 1", "Zeratul (Dark Templar)", All, "Location 121", "Location 128");
Set Invincibility("Player 1", "Terran Firebat", "Location 128", disabled);
Set Invincibility("Player 1", "Terran Marine", "Location 128", disabled);
Set Invincibility("Player 1", "Zerg Hydralisk", "Location 128", disabled);
Set Invincibility("Player 1", "Zeratul (Dark Templar)", "Location 128", disabled);
Center View("Location 128");
Move Location("Player 8", "Map Revealer", "Location 133", "Location 128");
Preserve Trigger();
Comment("Hero Enter P2 Hero Battle");
}

//-----------------------------------------------------------------//
[/collapse]



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy