If a player dies, all his units are killed. Even the unit that starts the round.
So, to make up for this, I created a way to give the next player in line the starter. This is my trigger that I'm using:
Quote
Trigger("Player 1"){
Conditions:
Command("Player 1", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 1", "Samir Duran (Ghost)");
Create Unit with Properties("Player 2", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Command("Player 2", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 2", "Samir Duran (Ghost)");
Create Unit with Properties("Player 3", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Command("Player 3", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 3", "Samir Duran (Ghost)");
Create Unit with Properties("Player 4", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 4"){
Conditions:
Command("Player 4", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 4", "Samir Duran (Ghost)");
Create Unit with Properties("Player 5", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 5"){
Conditions:
Command("Player 5", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 5", "Samir Duran (Ghost)");
Create Unit with Properties("Player 6", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Command("Player 6", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 6", "Samir Duran (Ghost)");
Conditions:
Command("Player 1", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 1", "Samir Duran (Ghost)");
Create Unit with Properties("Player 2", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Command("Player 2", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 2", "Samir Duran (Ghost)");
Create Unit with Properties("Player 3", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Command("Player 3", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 3", "Samir Duran (Ghost)");
Create Unit with Properties("Player 4", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 4"){
Conditions:
Command("Player 4", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 4", "Samir Duran (Ghost)");
Create Unit with Properties("Player 5", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 5"){
Conditions:
Command("Player 5", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 5", "Samir Duran (Ghost)");
Create Unit with Properties("Player 6", "Samir Duran (Ghost)", 1, "Starter Reset", 64);
}
//-----------------------------------------------------------------//
Trigger("Player 6"){
Conditions:
Command("Player 6", "Protoss Cybernetics Core", Exactly, 0);
Actions:
Kill Unit("Player 6", "Samir Duran (Ghost)");
The Protoss Cybernetics Core is pre-placed so that if a player isn't present (slot was unfilled or closed) the Protoss Cybernetics Core doesn't exist. When P1 dies, everything is killed (including the Protoss Cybernetics Core). So, if you look at the triggers, it should give P2 the next "starting" unit (in this case, Samir Duran [still Terran] is the unit that triggers the next round). Well, it does, and it works perfectly fine. Whats the problem here? If P2 leaves or isnt there (slot closed/unfilled), it still gives him the starter unit without killing it. P2 has no Protoss Cybernetics Core, so why doesn't it kill it and move on to the next player? Should I use Preserver Trigger on this?
EDIT: If someone has a simpler way, I'll try it. =)
Post has been edited 1 time(s), last time on Sep 7 2009, 5:27 pm by dpp89.
None.