This isn't really a high-priority question, I can work around it if I can't get an answer.
Basically, I want to essentially have a notetag on certain maps, so that I can do certain backend processing when the maps are transferred to. I want to do it this way to essentially automate one of my game's mechanics, without having to clarify the relevant data in transfer/autorun events on every map. This way I can simply tag maps with the default values I desire, and have the engine automatically handle what it needs to with that data when the map is entered. This is highly desirable because it's a persistent mechanic that could change ON the map in question, so I don't want to assume that two adjacent maps with the same default value won't have a change when moving between them and neglect to hard-code the default setting. I think there also may be a need for random map transfers in a few parts, so having that data attached directly to the map itself would cut down on making sure all the t's are properly crossed.
I also am unsure just how large and/or complex this project or the mechanic's overall impact will ultimately be, so I'm hesitant to assume what I will and won't need. At this stage, I don't believe I need to worry about attaching anything related in save data, I do have some interaction with game variables to handle that.
I tried looking at the $gameMap object in the dev tools on a test map, but found no mention of note data. I haven't pored over the source code yet, but data pertaining to the current map in debug seems quite... sparse. So I figure the probability is high that I'm not looking in the right place.
Any assistance would be appreciated. Thanks in advance!
Basically, I want to essentially have a notetag on certain maps, so that I can do certain backend processing when the maps are transferred to. I want to do it this way to essentially automate one of my game's mechanics, without having to clarify the relevant data in transfer/autorun events on every map. This way I can simply tag maps with the default values I desire, and have the engine automatically handle what it needs to with that data when the map is entered. This is highly desirable because it's a persistent mechanic that could change ON the map in question, so I don't want to assume that two adjacent maps with the same default value won't have a change when moving between them and neglect to hard-code the default setting. I think there also may be a need for random map transfers in a few parts, so having that data attached directly to the map itself would cut down on making sure all the t's are properly crossed.
I also am unsure just how large and/or complex this project or the mechanic's overall impact will ultimately be, so I'm hesitant to assume what I will and won't need. At this stage, I don't believe I need to worry about attaching anything related in save data, I do have some interaction with game variables to handle that.
I tried looking at the $gameMap object in the dev tools on a test map, but found no mention of note data. I haven't pored over the source code yet, but data pertaining to the current map in debug seems quite... sparse. So I figure the probability is high that I'm not looking in the right place.
Any assistance would be appreciated. Thanks in advance!