- Joined
- Aug 16, 2016
- Messages
- 8
- Reaction score
- 0
- First Language
- english
- Primarily Uses
I've been looking all over for some form of how to do this, but I couldn't find any.
I simply want to know how to set variable x, where x is the value of another variable. For example, if the independent variable is set to 3, it will change the value of variable 3. If it is set to 4, the of variable 4. At the moment, I have conditional branches that check the value of the first variable and set them that way. (if variable 100=1, set variable 1 etc) But this is an extremely long and complicated method, and gets even more so if I want to increase the number of variable that can be changed this way later. If there is a plugin or script call that can do this that would be great to know.
I simply want to know how to set variable x, where x is the value of another variable. For example, if the independent variable is set to 3, it will change the value of variable 3. If it is set to 4, the of variable 4. At the moment, I have conditional branches that check the value of the first variable and set them that way. (if variable 100=1, set variable 1 etc) But this is an extremely long and complicated method, and gets even more so if I want to increase the number of variable that can be changed this way later. If there is a plugin or script call that can do this that would be great to know.

