• 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.

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:
Level 13
Joined
Feb 18, 2009
Messages
1,381
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.
 
Level 9
Joined
Oct 11, 2009
Messages
477
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.
Top