Hey all! Weirdly enough, I'm actually not asking for a way to make this happen - I'm wondering if this is something that can/does already happen, to troubleshoot a small bug in one of my systems??
I'm using a pixel movement plugin, so my character sprite can walk up right between two events.
I also created a system whereby you can walk up to certain events (like doors, window boxes, etc.) if a certain mode (i.e. universal switch) is on, interact with it, and visual arrows appear on either side of it and you can press your arrow keys to cycle through different designs (i.e. event pages) to make it look different. I do this by using self switches and variables, so when I interact with one event, only that one's own self version of the switch that allows it to cycle (when pressing an arrow key) turns on, and therefore only that one has the appropriate event pages active that allow cycling when that self switch is on.
Generally, this works beautifully.
But I just ran into a little bug where I accidentally walked up right between two events (a door and a window), and when I pressed the action button, the visual arrows showed up on either side of the door only, but both the door and window beside it were cycling through sprites as I pressed my arrow keys. No other events on the map did this, just the two I'd walked up right between, and I'm trying to figure out why. This also happens with the window on the other side, if I stand between those instead.
Is it possible that I quite literally just activated both events at the same time because I was standing between them, and therefore both their respective self switches were turned on? This is the only thing I can imagine could have happened. It would still make sense that only one set of arrows showed up, since the "Show Picture" command would be trying to use the same picture ID number, so the arrow picture would have overwritten itself and only shown up once.
So this must be what's happening, right??
(and then the rest of the pages alternate between these last two exact same templates, just with different sprite images)
I'm using a pixel movement plugin, so my character sprite can walk up right between two events.
I also created a system whereby you can walk up to certain events (like doors, window boxes, etc.) if a certain mode (i.e. universal switch) is on, interact with it, and visual arrows appear on either side of it and you can press your arrow keys to cycle through different designs (i.e. event pages) to make it look different. I do this by using self switches and variables, so when I interact with one event, only that one's own self version of the switch that allows it to cycle (when pressing an arrow key) turns on, and therefore only that one has the appropriate event pages active that allow cycling when that self switch is on.
Generally, this works beautifully.
But I just ran into a little bug where I accidentally walked up right between two events (a door and a window), and when I pressed the action button, the visual arrows showed up on either side of the door only, but both the door and window beside it were cycling through sprites as I pressed my arrow keys. No other events on the map did this, just the two I'd walked up right between, and I'm trying to figure out why. This also happens with the window on the other side, if I stand between those instead.
Is it possible that I quite literally just activated both events at the same time because I was standing between them, and therefore both their respective self switches were turned on? This is the only thing I can imagine could have happened. It would still make sense that only one set of arrows showed up, since the "Show Picture" command would be trying to use the same picture ID number, so the arrow picture would have overwritten itself and only shown up once.
So this must be what's happening, right??
(and then the rest of the pages alternate between these last two exact same templates, just with different sprite images)