• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

3 Life Leaderboard

Status
Not open for further replies.
Level 3
Joined
Oct 3, 2009
Messages
39
I'm making a mini-game map, where you have 3 lives in total. When all lives are used up, the person gets defeated, and his units removed.
Now I'm wondering how to make all this, and put it together in a leaderboard?
Please could someone show me?
 
Last edited:
Leaderboard thingie, you gotta ask somebody else, but the trigger is quite easy

  • Event :
  • Unit - A unit dies
  • Condition :
  • Unit type of (Triggering unit) is YourUnit
  • Actions :
  • Set Realvariable = +1
  • If/Then/Else
    • If :
    • Realvariable = 3
    • Then :
      • Pick all units owned by player XXX and kill (picked unit)
      • Else :
      • -----
This is how it should look like, although i haven't tested.
 
Three triggers are needed in order to do this, the first one which is to create the Leaderboard and the second one is the Lives Counter part. And for the last trigger which is the third one is for the defeat condition.
 
Status
Not open for further replies.
Back
Top