It seems like I am doing something completely wrong here.
I have 2 maps, Worldmap and Worldmap2.
I want to copy tiles from Woldmap2 to Worldmap.
I set NO note on Worldmap2. On Worldmap I set the following note:
The ID for Worldmap2 is correct.
I have set a plugin command, but is triggered through an action button, so not automatically.
When I load Worldmap I get the follow error:
rpg_managers.js:1919 Uncaught SyntaxError: Unexpected number in JSON at position 28
SceneManager.onError @ rpg_managers.js:1919
rpg_managers.js:1920 chrome-extension://odlameecjipmbmbejkplpemijjgpljce/index.html 1
SceneManager.onError @ rpg_managers.js:1920
index.html:1 Uncaught SyntaxError: Unexpected number in JSON at position 28
at JSON.parse (<anonymous>)
at Function.DataManager.onLoad (Shaz_TileChanger.js:122)
at XMLHttpRequest.xhr.onload (rpg_managers.js:86)
MVCommons.js:953 No parameters could be found for 'ShaderTilemap' !!
$.parameters @ MVCommons.js:953
@TWings yes, go for it, as long as you still credit me and don't remove my name from the header section.
Just note that using map notes allows the additional maps to be loaded as part of the map loading process, while putting them in a plugin parameter might result in a delay where you can see the "old" version of the map while the "new" version is loading. But good luck with it
Looking back, I'm not entirely sure why I made the map notes so convoluted. I could have just made it an array of map numbers. If I rewrite it (which I'll surely do for MZ), I think I'll do that to make it more simple.
Nice, I'm gonna give it a try.
Of course I'm crediting you for it (I mean, I just change the way I'm using it, you're the one who actually did all the hard work).
I'm currently trying to optimise my project, and make things a bit easier for me.
Note tags tend to make it harder to keep tracks within the editor (and the maps Note area doesn't help either) compared to have everything in the same place.
Thanks for the advice. I'll see if I can figure something out.
If it doesn't go smoothly enough, I'll just give up, I guess.
Alright, still gonna need to run a few more tests to make sure, but it looks like I got it working without too much trouble (although I simplified it to only manage one extra map per map). I did manage to keep it within the loading process, so there shouldn't be any delay problem.
I also kept the name parameter, it does help to keep tracks better than only map ids.
Oh no. That moment when you try to fix something you modified in your game, like, a year ago but didn't want to fix then, and you now have no idea what you even did. Me right now, trying to figure out why my gold window is over stretched?