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).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
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).