Well, you still don't show the entire page 2 of your event, so it's hard to completely troubleshoot.
But here are things that look wonky to me:
- Page 1 has an Erase Event, which means Page 2 shouldn't even get triggered, because you erased the event until you load back into the map. Why is that command there at all?
- Your common event has a conditional inside it. In the video you linked to, that was present because the common event was being called directly from a button via a plugin. But you aren't doing that, you're trying to look at the player's keyboard input - so if you're calling the common event manually, only when you intend to, why is the conditional there?
- Your event 8 page 2 is triggered by action button. That means any of the conditions inside are only going to happen if, for example, the player hits Enter while holding "E". From the design of the event, I presume you want that event to be a parallel process, continually running.
- That other thread is really not a useful reference for anything because it's a completely different programming language. Your script calls are incorrect - push(e)
is going to try to push a variable named "e", but you don't have one. Are you intending to push the character "E", in quotations? You, again, don't actually show us what you're doing with this array so it's impossible for us to tell you.
- Then, the next thing in your scripts is also incorrect, @button_on = true
doesn't mean anything. It's going to create a temporary variable called @button_on which will go away as soon as the script box ends. (actually, it won't even get that far because simply starting with @ and no commands before it will produce a syntax error)