Code
Trigger("All players"){
Conditions:
Always();
Actions:
Set Resources("Current Player", Set To, 50, ore);
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Command("Current Player", "Any unit", At most, 0);
Actions:
Defeat();
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Command("Non Allied Victory Players", "Any unit", At most, 0);
Actions:
Victory();
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Command("Player 12", "Terran Comsat Station", At least, 1);
Actions:
Move Location("Player 12", "Terran Comsat Station", "Anywhere", "Location 0");
Remove Unit At Location("Player 12", "Terran Comsat Station", All, "Anywhere");
Create Unit("Current Player", "Protoss Zealot", 1, "Location 0");
Wait(50);
Preserve Trigger();
}
//-----------------------------------------------------------------//
+hypers
Conditions:
Always();
Actions:
Set Resources("Current Player", Set To, 50, ore);
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Command("Current Player", "Any unit", At most, 0);
Actions:
Defeat();
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Command("Non Allied Victory Players", "Any unit", At most, 0);
Actions:
Victory();
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Command("Player 12", "Terran Comsat Station", At least, 1);
Actions:
Move Location("Player 12", "Terran Comsat Station", "Anywhere", "Location 0");
Remove Unit At Location("Player 12", "Terran Comsat Station", All, "Anywhere");
Create Unit("Current Player", "Protoss Zealot", 1, "Location 0");
Wait(50);
Preserve Trigger();
}
//-----------------------------------------------------------------//
+hypers
And for some reason, when I spawn a comsat station it creates a zealot at the location, and an additional zealot at the center of the map. I have no idea why it creates a zealot at the center of the map, and if anyone could help out, it'd be nice