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

trigger help

Status
Not open for further replies.
Level 2
Joined
Mar 30, 2005
Messages
11
hum yea id like some help with a trigger for a leaderboard

i really cant make a damn leaderboard

if you're willing to help me post and il post back

i need a leaderboard that count 2 teams divided in six counting kills and death.
The amount of time elapsed I need some help with it plz
 
1st:

Create 1 variables, leaderbord one.

Now create a trigger:

Code:
Untitled Trigger 001
    Events
        Time - Elapsed game time is 0.01 seconds
    Conditions
    Actions
        Leaderboard - Create a leaderboard for (All players) titled Kills
        Set Leaderbord1 = (Last created leaderboard)
        Leaderboard - Add Player 1 (Red) to Leaderbord1 with label Player 1 kills and value 0

Then another:

Code:
Untitled Trigger 002
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderbord1 to ((Owner of (Killing unit)) Units Killed)
Leaderboard - Sort Leaderbord1 by Value in Descending order

(Player 1 (Red) Units Killed) is Player - player score trigger.

i don't know for the other one, and i am just too sleepy, was up from 12:00 PM and now its 3:00 AM ^^

so ill look a little more for it tomorrow.[/code]
 
Status
Not open for further replies.
Top