• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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