Usually to set variable value i use this code:
$gameVariables.setValue(3, 4);
number 3 is id variable and 4 is value of 3 in RPG Maker MV.
can i set variable not by using id variable but by using Variable name in RPG Maker MV?
i already try this:
$gameVariables.setValue(idItem, 4);
but idItem's value doesn't change.
$gameVariables.setValue(3, 4);
number 3 is id variable and 4 is value of 3 in RPG Maker MV.
can i set variable not by using id variable but by using Variable name in RPG Maker MV?
i already try this:
$gameVariables.setValue(idItem, 4);
but idItem's value doesn't change.