Leader board help

Z

Zoragoyf

Guest
I'm making a heroarena and i can't get the leaderboard to work.

The trigger that i made says:

EVENTS
a unit owned by player 1 dies
a unit owned by player 2 dies
a unit owned by player 3 dies
a unit owned by player 4 dies
a unit owned by player 5 dies
CONDITIONS
dying unit is a hero equal to true
EVENTS
set TEAM2KILLS = TEAM2KILLS + 1

the leaderboard appears on the screen when the map is started but when a hero dies it doesn't add to the kills

can you help me?
 

Darg

Administrator
Reaction score
49
You correctly changed the value of the variable, but you have forgotten to update the leaderboard as well.

I think the action is 'leaderboard - change value'.
 
S

Smartguy

Guest
yup

that's right...


EVENTS
a unit owned by player 1 dies
a unit owned by player 2 dies
a unit owned by player 3 dies
a unit owned by player 4 dies
a unit owned by player 5 dies
CONDITIONS
dying unit is a hero equal to true
EVENTS
set TEAM2KILLS = TEAM2KILLS + 1
Change the value for ??? in (Leaderboard Variable) to TEAM2KILLS

or

Change the value for ??? in (Leaderboard Variable) to TEAM2KILLS [ ? ] for an array
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top