Autorun event not triggered if directional button is pressed.

  • Using MV
  • Are you using plugins? I really don't believe this is being effected by plugins. Yes I am using 8 (not all on this page).
  • Is your bug already reported by another person? Not that I could find
  • Bug Explanation: I have an auto-event set to cause my actor to move when a conditional switch is turned on. It always works EXCEPT if a directional button is being pressed at the same time the event is supposed to be triggered.
  • Error Report: N/A
  • Exact Steps on How to Replicate Bug: Auto event works under every condition but when a directional button is being pressed at the moment it should be triggered. If a directional button is being pressed, the auto-event is skipped entirely.
  • Sample Project (REQUIRED): Huh? How?
Spoiler: screen shots
print page 1 20apr2017.png print page 2 20apr2017.png
How is the conditional switch 61 (1st scare) activated in game? With this event I can't figure out why isn't working (I think it should), so maybe the directional button interferes with the switch 61 on event.
Does the event work correctly if you disable both region events and region restrictions? Those two plugins do affect the triggering when moving, and Yanfly specifically wrote something somewhere that only one trigger can work if one of there plugins and another event interact (but unfortunately I don't know the specifics of that case, it doesn't alway apply)
Ok, so I made an isolated project and tested it out without region restrictions (it seems to be working, but I only have had time to test it a cpl times, I have to wait until tomorrow). But that leads to another problem...

The wall tile I use on this map is passable, no matter what I do to make it impassable, my actor just walks all over them. Sooo, I have to use region restrictions to make them impassable. Is there another work around? (screen shot's below)

Spoiler: screen shots
print page 3 20apr2017.png print page 4 20apr2017.png
That is because that is not a walltile, it is a ceiling tile - they're supposed to be passable because they're intended to simulate a two-level-dungeon (walking on the tops of the walls).

I suggest you follow the link to the starting point in my signature and work through the tutorials listed there, they contain descriptions on how the mapping works and what tiles are intended for which use.
OK, so the problem is intermittent, but persists (it is most reproducible if you tap the directional button) . If you are using directional buttons when the event should trigger, it won't (intermittently). This is WITHOUT the Yanfly region restrictions on. (the plug in isn't even in the files of this map demo)

Here's the link to a demo of the map I'm having issues with. (54mb)
https://www.dropbox.com/s/fwa34kz1ndvx7bz/auto event troubleshoot.zip?dl=0

Thanks for the info about the tiles. 🙂
Is this with NO plugins? Or have you just removed that one and kept all the others?
can you give a screenshot of the event that triggers switch 61?
Because it might be that the problem is not with the movement buttons but with whatever triggers that switch - if the switch goes not on correctly, the autorun can't start.
Is this with NO plugins? Or have you just removed that one and kept all the others?

I removed all but the logo splash plug in that is installed automatically with the newest version of MV, and the Terrax lighting plugin (which is integral to this whole map) So only two plug ins.
can you give a screenshot of the event that triggers switch 61?
Because it might be that the problem is not with the movement buttons but with whatever triggers that switch - if the switch goes not on correctly, the autorun can't start.

Here it is, it's in the demo, it's in the first page of the first time the character hears a noise.

Spoiler: screen shot
print page 5 21apr2017.png
and what is on the other pages of that event? Because those pages may have priority even above the other autorun event if you split the commands that way.

and why do you even do it that way?
Because whenever you trigger a switch for an autorun, it usually is better to place the commands inside the autorun at the place where the switch is tried, cutscene commands should rarely be split between several events.

Because it begins to look like a timing problem created by you having different events at the same time.
I suggest you follow the link "bughunting" in my signature and read about the problems of splitting commands between events.
That would seem the natural way to do it, wouldn't it? I actually started off that way, but before I separated the auto event, I actually didn't think it worked at all at first, then it worked one or two times, so the success rate of the trigger was much lower. I've had better success after un-nesting the auto event and making it separate.

If you look at the files I linked you can see the way it's set up, and even try what you said and see how bad it works. (for the life of me, I can't figure out why separating it had such an effect, but it does. (unless of course I was missing something entirely different that I unwittingly fixed in the act of separating the autoevent.))

Also, all the pages of the event play out exactly how they should every time, it's just the autoevent that fails to trigger about 20% of the time, provided the directional button is being pressed at the same time.
splitting up a cutscene is always a mistake, the reasons for that are explained in the bughunting link I mentioned.
If it didn't work the way you wanted with a single controlling event, then you made other mistakes there - but splitting a cutscene control is always a bad idea, exactly because you will usually get random timing errors, and the only way to prevent them is to NOT split the event.

Please combine the commands again, show us a screenshot of that combined event and tell us what problems it still has, then we can go on solving them. But combining the event is the only way to solve the timing problems that you now have.
And please, take the time to read through my bughunting tutorial - it will really help you to understand what is going on now.
Ok, that seems to be it. Problem solved.

Thank you guys, your awesome!

I will look at the bughunting info, I've been pressed for time. It's on my to do list. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/autorun-event-not-triggered-if-directional-button-is-pressed.77613/