• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Kill qount

Status
Not open for further replies.
You could do this:
  • ScoreboardInit
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Leaderboard - Create a leaderboard for (All players) titled Scoreboard:
      • Set YourLeaderboard = (Last created leaderboard)
      • Leaderboard - Change the display style for YourLeaderboard to Show the title, Show labels, Show values, and Hide icons
      • Leaderboard - Sort YourLeaderboard by Player in Descending order
      • Leaderboard - Add Player 1 (Red) to YourLeaderboard with label Fel Orc kills: and value FelOrcKills
      • Leaderboard - Show YourLeaderboard
  • Scoreboard
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Dying unit)) Equal to Fel Orc Grunt
          • (Unit-type of (Dying unit)) Equal to Fel Orc Raider
          • (Unit-type of (Dying unit)) Equal to Fel Orc Warlock
    • Actions
      • Set FelOrcKills = (FelOrcKills + 1)
      • Leaderboard - Change the value for Player 1 (Red) in YourLeaderboard to FelOrcKills
Variable NameVariable TypeInitial Value
FelOrcKillsInteger0 (Default)
YourLeaderboardLeaderboard- None -
 
Status
Not open for further replies.
Top