So I'm having a bit of a problem. I created a Game Attribute named "Score Limit" with the values { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }, and a global variable named Points to win.. Basically, I want the host to be able to choose how many points to play to, then when the game starts, set the Points to Win variable to what was selected in the lobby. But I can't figure out how to actually REFERENCE the attribute.
I know I can do "If => Condition (Score Limit game value == 5) => then do (Set Points to Win = 5)", but to do it that way, I have to make 10 different if statements. Is that really the only way?
Anyone have any ideas for me?
TL;DR - need a way to convert game attribute from lobby to an integer (or something that I can then convert to an integer).
My friends and I have been playing a lot of the map named Lightcycles, and to our surprise, it was actually unlocked. So we've set about trying to add a team mode to it, because it adds a fun new dynamic. But, the map itself has all of the default blizzard UI turned off, which means that the normally "Toggle Ally Colors" button is gone, so the keybinding for it doesn't even work. I've been trying to add it back, but I just can't seem to figure it out. Any ideas?
The first time I hit alt+f, it turns on the team colors fine. All of the players change colors like expected. But hitting it again just doesn't do anything. The team colors just always stay on. Any ideas?
0
So I'm having a bit of a problem. I created a Game Attribute named "Score Limit" with the values { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }, and a global variable named Points to win.. Basically, I want the host to be able to choose how many points to play to, then when the game starts, set the Points to Win variable to what was selected in the lobby. But I can't figure out how to actually REFERENCE the attribute.
I know I can do "If => Condition (Score Limit game value == 5) => then do (Set Points to Win = 5)", but to do it that way, I have to make 10 different if statements. Is that really the only way?
Anyone have any ideas for me?
TL;DR - need a way to convert game attribute from lobby to an integer (or something that I can then convert to an integer).
0
Thanks! Worked perfectly.
0
My friends and I have been playing a lot of the map named Lightcycles, and to our surprise, it was actually unlocked. So we've set about trying to add a team mode to it, because it adds a fun new dynamic. But, the map itself has all of the default blizzard UI turned off, which means that the normally "Toggle Ally Colors" button is gone, so the keybinding for it doesn't even work. I've been trying to add it back, but I just can't seem to figure it out. Any ideas?
Here's what I have:
The first time I hit alt+f, it turns on the team colors fine. All of the players change colors like expected. But hitting it again just doesn't do anything. The team colors just always stay on. Any ideas?