- Joined
- Feb 19, 2014
- Messages
- 25
- Reaction score
- 12
Hi, everyone!
I'm having trouble changing only one array element using $gameVariables.setValue. I've tried $gameVariables.setValue(47[1], "test"), and that doesn't seem to do anything. Every other combination I've tried has thrown errors at me. I already have the variable initialized as an array of several values, set at the beginning of the game... I just need to be able to change values individually.
I feel like the answer is staring me right in the face, but I just can't get it!
Any help would be mega appreciated! <3
-yuyu
I'm having trouble changing only one array element using $gameVariables.setValue. I've tried $gameVariables.setValue(47[1], "test"), and that doesn't seem to do anything. Every other combination I've tried has thrown errors at me. I already have the variable initialized as an array of several values, set at the beginning of the game... I just need to be able to change values individually.
I feel like the answer is staring me right in the face, but I just can't get it!
-yuyu
Last edited by a moderator:

