How do you change the cooldown for a unit's attack? For instance, if I want a marine to shoot at 1.25 attacks per second, where in the Data Editor would I find it?
I had the same problem. If remove the variable and just make your trigger say "Leaderboard - Set (Last created leaderboard) item text at column (x) and row (x) to "Message" then it should work
Leaderboard - Create a leaderboard with 2 columns and 6 rows, with the name "Sam's HLW", and using (100%, 100%, 100%) color.
Leaderboard - Turn Leaderboard minimize button On for (All players)
Leaderboard - Set Leaderboard item text at column 1 and row 1 to "Lives Green <c "
Leaderboard - Set Leaderboard item text at column 2 and row 1 to (Text(TotalLives-Green))
Leaderboard - Set Leaderboard item text at column 1 and row 2 to (Name of player 1)
Leaderboard - Set Leaderboard item text at column 2 and row 2 to (Text(Income-Player1))
Leaderboard - Set Leaderboard item text at column 1 and row 3 to (Name of player 2)
Leaderboard - Set Leaderboard item text at column 2 and row 3 to (Text(Income-Player2))
Leaderboard - Set Leaderboard item text at column 1 and row 4 to "Lives Blue T<c "
Leaderboard - Set Leaderboard item text at column 2 and row 4 to (Text(TotalLives-Blue))
Leaderboard - Set Leaderboard item text at column 1 and row 5 to (Name of player 3)
Leaderboard - Set Leaderboard item text at column 2 and row 5 to (Text(Income-Player3))
Leaderboard - Set Leaderboard item text at column 1 and row 6 to (Name of player 4)
Leaderboard - Set Leaderboard item text at column 2 and row 6 to (Text(Income-Player4))
Leaderboard - Show all leaderboards for (All players)
I have a Global Variable names Leaderboard set to Last Created Leaderboard, so the Leaderboard name in the triggers is actually the Last Created Leaderboard. When I test my map, my leaderboard has the correct name, a working minimize button, but does not have any contents in it. It's just a big empty square. Can someone help me fix this?
0
@Carbon12: Go
Awesome thanks.
0
@Carbon12: Go
Do you know if that's the cooldown time, time in between shots, or the amount of shots per second?
0
How do you change the cooldown for a unit's attack? For instance, if I want a marine to shoot at 1.25 attacks per second, where in the Data Editor would I find it?
0
I took at the variable and set everything to "(Last Created Leaderboard)" in place of "Leaderboard"
Ex.
Leaderboard - Set Leaderboard item text at column 2 and row 1 to (Text(TotalLives-Green))
would become
Leaderboard - Set (Last Created Leaderboard) item text at column 2 and row 1 to (Text(TotalLives-Green))
0
I had the same problem. If remove the variable and just make your trigger say "Leaderboard - Set (Last created leaderboard) item text at column (x) and row (x) to "Message" then it should work
0
Nevermind, I got it.
0
LeaderBoard
Events
Game - Map initialization
Local Variables
Conditions
Actions
Leaderboard - Create a leaderboard with 2 columns and 6 rows, with the name "Sam's HLW", and using (100%, 100%, 100%) color.
Leaderboard - Turn Leaderboard minimize button On for (All players)
Leaderboard - Set Leaderboard item text at column 1 and row 1 to "Lives Green <c "
Leaderboard - Set Leaderboard item text at column 2 and row 1 to (Text(TotalLives-Green))
Leaderboard - Set Leaderboard item text at column 1 and row 2 to (Name of player 1)
Leaderboard - Set Leaderboard item text at column 2 and row 2 to (Text(Income-Player1))
Leaderboard - Set Leaderboard item text at column 1 and row 3 to (Name of player 2)
Leaderboard - Set Leaderboard item text at column 2 and row 3 to (Text(Income-Player2))
Leaderboard - Set Leaderboard item text at column 1 and row 4 to "Lives Blue T<c "
Leaderboard - Set Leaderboard item text at column 2 and row 4 to (Text(TotalLives-Blue))
Leaderboard - Set Leaderboard item text at column 1 and row 5 to (Name of player 3)
Leaderboard - Set Leaderboard item text at column 2 and row 5 to (Text(Income-Player3))
Leaderboard - Set Leaderboard item text at column 1 and row 6 to (Name of player 4)
Leaderboard - Set Leaderboard item text at column 2 and row 6 to (Text(Income-Player4))
Leaderboard - Show all leaderboards for (All players)
I have a Global Variable names Leaderboard set to Last Created Leaderboard, so the Leaderboard name in the triggers is actually the Last Created Leaderboard. When I test my map, my leaderboard has the correct name, a working minimize button, but does not have any contents in it. It's just a big empty square. Can someone help me fix this?