So I've setup an array with:
And then I pull a random integer from the array with:
It looks like it works when I check the variable in game:
But the event doesn't trigger when checking for this value:
Anyone have any idea why and how to fix?
$gameVariables.setValue(533, [2, 3, 4]);And then I pull a random integer from the array with:
$gameVariables.setValue(534, $gameVariables.value(533).splice(Math.floor(Math.random() * $gameVariables.value(533).length), 1))
It looks like it works when I check the variable in game:
But the event doesn't trigger when checking for this value:
Anyone have any idea why and how to fix?