I keep trying to use this method
and it keeps giving me errors of 'FILE NOT FOUND'.
The console says that it cannot find the `%24main-chara.png' file.
I tried using regexp with the .replace method and I also tried to replace it from '%24' to '$' with no luck either.
I am running the game locally, no custom servers or anything and this is on Windows 10.
Edit: This is a plugin, and it is not a command. Using the script command via the editor works fine. The encoding is UTF-8 and I use VS Code and not the Notepad editor that comes with Windows.
JavaScript:
$gamePlayer.setImage('$main-chara', 0)
The console says that it cannot find the `%24main-chara.png' file.
I tried using regexp with the .replace method and I also tried to replace it from '%24' to '$' with no luck either.
I am running the game locally, no custom servers or anything and this is on Windows 10.
Edit: This is a plugin, and it is not a command. Using the script command via the editor works fine. The encoding is UTF-8 and I use VS Code and not the Notepad editor that comes with Windows.