• 🏆 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!

Need Help With Leaderboard

Status
Not open for further replies.
Level 5
Joined
Sep 21, 2004
Messages
186
I have been trying to make a leaderboard that shows how many kills each player has. I am not quite sure how to do this. What I have been able to do is make the leaderboard and add the players to it. What I don't know how to do is add a kill each time a player kills something. I know that I have to use variables but I have never really used variables before. I think it is supposed to be a leaderboard not a multiboard but I am not for sure. if anyone can help me I would really like it. :? :? :| :mrgreen:
 
Level 12
Joined
Jul 2, 2004
Messages
471
It¨s hard to explande, but take a look a look at warchesse. example:
Every player kíll a Player Equal to Hostie.

Condition:
If owner of killing unit is equal player 1

Action:

So update leadeopdate leaderbord...



Sorry if i had explaingnot enouqh, but i am alcoholic.
But i had had lost my lost my girl freind...
Sorry...
 
Level 16
Joined
Sep 3, 2004
Messages
2,086
Create a leaderboard with a diff trigger than map init.

Events
Map Init
Conditions
---
Actions
Create a leaderboard

Update Kills trig

Events
A unit dies
Conditions
(Owner of (Killing Unit)) not equal to neutral hostile
(Owner of (Killing Unit)) not equal to neutral passive
(Owner of (Killing Unit)) not equal to whoever players aren't supposed to have score
Actions
Set the score of (Owner of (Killing unit)) in Leaderboard to Score of Owner of Killing unit+1
 
Level 5
Joined
Sep 21, 2004
Messages
186
Hey man this is GREAT!! I got it to work!!! I have been trying to do this for a couple of weeks and FINALY someone told me how!! And it was YOU!! WOOHOO!!

PEONMASTER :D
 
Status
Not open for further replies.
Top