I'm trying to use a death counter to time a leaderboard properly (you know how they cycle through different ones) but it doesn't work. The unit is dieing and everything, but it doesn't work. Here's how the trigger goes:
CODE
Deaths(P8, AtMost, 100, LEADERBOARD);
Deaths(P8, AtLeast, 1, LEADERBOARD);
LeaderBoardControl(Men, "|-Army Size-|");
LeaderBoardComputerPlayers(Disable);
PreserveTrigger();
Comment("Leaderboard 1");
Deaths(P8, AtMost, 200, LEADERBOARD);
Deaths(P8, AtLeast, 101, LEADERBOARD);
LeaderBoardKills(AnyUnit, "|-Kills-|");
LeaderBoardComputerPlayers(Disable);
PreserveTrigger();
Comment("Leaderboard 2");
Deaths(P8, AtMost, 300, LEADERBOARD);
Deaths(P8, AtLeast, 201, LEADERBOARD);
LeaderBoardControl(Buildings, "|-Country Size-|");
LeaderBoardComputerPlayers(Disable);
PreserveTrigger();
Comment("Leaderboard 3");
Deaths(P8, Exactly, 300, LEADERBOARD);
SetDeaths(P8, SetTo, 0, LEADERBOARD);
PreserveTrigger();
Comment("Leaderboard 4");
All triggers are for Player 8. What's wrong?