Hi all! Thank you in advance for the help. A bit stumped, as this seems to work with MV but not MZ? Worried it may be a plug-in I'm using messing with stuff.
Here I am Showing Picture 21, hoping to store the desired filename in VariableID 26 (the other variables 2, 3, and 4 store Screen resolution and image offset info).
The error I'm getting is "Uncaught TypeError: Cannot read property 'length' of undefined."
I am definitely initializing Variable 26 with a valid name, and with a valid file with the right name exactly in the right spot for it to reference before this code references it. My general feeling is that MZ (or plugin interference) is refusing to accept a string as an argument for a filename, but it works in MV.
Any help is appreciated!
Here I am Showing Picture 21, hoping to store the desired filename in VariableID 26 (the other variables 2, 3, and 4 store Screen resolution and image offset info).
$gameScreen.showPicture(21, $gameVariables.value(26).toString(), 1, 0, 0 - $gameVariables.value(3), $gameVariables.value(2) - $gameVariables.value(4), 100, 100, 255, 0);The error I'm getting is "Uncaught TypeError: Cannot read property 'length' of undefined."
I am definitely initializing Variable 26 with a valid name, and with a valid file with the right name exactly in the right spot for it to reference before this code references it. My general feeling is that MZ (or plugin interference) is refusing to accept a string as an argument for a filename, but it works in MV.
Any help is appreciated!