So I recently used YEP's Event Spawner plugin to put together a "placing items in the world" system so players can decorate their home... and it was working beautifully.
Then I started tinkering with my battle system, and switching around some of the hotkeys. I had had it so pressing 'PageUp' (or more practically, "Q", which is mapped as 'PageUp' by default) would turn on "Edit Mode" when on one of the two home maps, but would instead ready the currently active spell on any other map. I ended up 1) changing the button in question from 'PageUp' to 'Tab', and 2) deciding that the player should be able to cast spells while at home, so instead of dual-purposing between "Edit Mode" and "Spell Ready", this button instead now dual-purposes between "Edit Mode" and "Draw/Sheathe Weapon".
That's it. That's all I did. I literally did not touch any part of the rest of my furniture-placement system. But I just went back to show it off to my brother, and it suddenly wasn't working. I fiddled around with some testing and determined that every button is still working as it should, every event is still being called, and every switch and variable is exactly what it needs to be (as determined via a debugging plugin that shows me the current values of every switch or variable)... up to the point where Yanfly's plugin is supposed to spawn the first event from my template map. The template map ID is still correct. The template event ID is still correct. The plugin is turned on. I added a "***TEST***" dialogue box just after the Event Spawner's script call to make sure all the conditions are met and the event processing is actually making it that far - it is. I even tested the plugin's script call on its own, completely independent of my furniture-placement system, just to see if it works at all anymore - and it still didn't work.
The event just isn't spawning. Keep in mind, this was working before. Like, perfectly (so the issue isn't that I'm trying to spawn it on top of the player, because that worked before). I at one time overpopulated my lawn with cauldrons because I was just so excited that the whole system worked so well.
The YEP plugin/script call just decided to stop working, and I don't know what could have possibly caused it?? I'll attach screenshots of everything related to this system (up to the point of trying to spawn the event) that I can think of. I know it's still not a lot to go off of, but that's why I'm so baffled. There's seemingly no indication for why this shouldn't be working all of a sudden.
Any ideas at all???
NOTE: Common Event 61 is the "Open Shed" event.
NOTE: To clarify the reason for multiple instances of the script call in conditional branches: The first three instances of the script call (to spawn template event 12) are for if the player chooses a wall item, of which I currently have 3 (i.e. with IDs 76, 78, and 80) - the item I'm testing with is not a wall item, and its ID is 70 (as you'll see in a screenshot below), so it should be running the last version of the script call (to spawn template event 9) - and it is running this part of the conditional branch, which again you can see below as it's showing the "***TEST***" dialogue box upon testing.
NOTE: I didn't think the rest of this event was relevant since the issue is that's it's no longer spawning in the first place; but if you'd like to see the rest of it/the rest of this system, I can post additional screenshots.
Then I started tinkering with my battle system, and switching around some of the hotkeys. I had had it so pressing 'PageUp' (or more practically, "Q", which is mapped as 'PageUp' by default) would turn on "Edit Mode" when on one of the two home maps, but would instead ready the currently active spell on any other map. I ended up 1) changing the button in question from 'PageUp' to 'Tab', and 2) deciding that the player should be able to cast spells while at home, so instead of dual-purposing between "Edit Mode" and "Spell Ready", this button instead now dual-purposes between "Edit Mode" and "Draw/Sheathe Weapon".
That's it. That's all I did. I literally did not touch any part of the rest of my furniture-placement system. But I just went back to show it off to my brother, and it suddenly wasn't working. I fiddled around with some testing and determined that every button is still working as it should, every event is still being called, and every switch and variable is exactly what it needs to be (as determined via a debugging plugin that shows me the current values of every switch or variable)... up to the point where Yanfly's plugin is supposed to spawn the first event from my template map. The template map ID is still correct. The template event ID is still correct. The plugin is turned on. I added a "***TEST***" dialogue box just after the Event Spawner's script call to make sure all the conditions are met and the event processing is actually making it that far - it is. I even tested the plugin's script call on its own, completely independent of my furniture-placement system, just to see if it works at all anymore - and it still didn't work.
The event just isn't spawning. Keep in mind, this was working before. Like, perfectly (so the issue isn't that I'm trying to spawn it on top of the player, because that worked before). I at one time overpopulated my lawn with cauldrons because I was just so excited that the whole system worked so well.
The YEP plugin/script call just decided to stop working, and I don't know what could have possibly caused it?? I'll attach screenshots of everything related to this system (up to the point of trying to spawn the event) that I can think of. I know it's still not a lot to go off of, but that's why I'm so baffled. There's seemingly no indication for why this shouldn't be working all of a sudden.
Any ideas at all???
NOTE: Common Event 61 is the "Open Shed" event.
NOTE: To clarify the reason for multiple instances of the script call in conditional branches: The first three instances of the script call (to spawn template event 12) are for if the player chooses a wall item, of which I currently have 3 (i.e. with IDs 76, 78, and 80) - the item I'm testing with is not a wall item, and its ID is 70 (as you'll see in a screenshot below), so it should be running the last version of the script call (to spawn template event 9) - and it is running this part of the conditional branch, which again you can see below as it's showing the "***TEST***" dialogue box upon testing.
NOTE: I didn't think the rest of this event was relevant since the issue is that's it's no longer spawning in the first place; but if you'd like to see the rest of it/the rest of this system, I can post additional screenshots.
/ It was gonna make my life a crap ton easier in another area, but not if it breaks a whole-arse other system lmaoo.