...ah, i guess the leaderboard is what you meant huh... sryuse a leaderboard.
find a tutorial about that...
Bandit Quest
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Bandit
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Bandit_Count Less than 5
Then - Actions
Set Bandit_Count = (Bandit_Count + 1)
Game - Display to (Owner of (Killing unit)), at offset (0.00, 0.00) for 3.00 seconds the text: (Bandits killed: + (String(Bandit_Count)))
Else - Actions
Game - Display to (Owner of (Killing unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Bandit Quest Complete!
If it's just for a single player game or a whole team at once u can do it kind of like this.
just create an integer variable for the quest, call it bandit_count or something. then make a trigger as follows -
Code:Bandit Quest Events Unit - A unit Dies Conditions (Unit-type of (Triggering unit)) Equal to Bandit Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Bandit_Count Less than 5 Then - Actions Set Bandit_Count = (Bandit_Count + 1) Game - Display to (Owner of (Killing unit)), at offset (0.00, 0.00) for 3.00 seconds the text: (Bandits killed: + (String(Bandit_Count))) Else - Actions Game - Display to (Owner of (Killing unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Bandit Quest Complete!
This is just the text part for your quest tho, there is more u will need to do to make the quest function... and if more then 1 player can do the quest at a time then it's a bit more complicated then that.