Trying to create a puzzle skill.

Okay, so I'm planning to make a skill with a common event when used outside of battle (obviously this is easy/done already), and this common event will check if any "movable" events (such as a specific block or something) are a certain distance in front of the player's direction (not sure on what that distance will be yet, maybe the tile in-front and upto 5 tiles ahead?), and from there I can either push or pull that "movable" event towards/away from the player. (One skill event to push and one skill event to pull)

Is there a way I can tag my "movable" events with something and my common events checking if an event with those tags are in range? And then from there how can I best move that tagged event towards/away from the player? (Once again one skill event to push and one skill event to push)
The moving part is the easiest - there are move commands "one step toward/away from player" in the move route.

Itentifying or tagging events is a bit more complex, and you'll have to use scripts for that.

If you're at least a bit comfortable with scripting, the fastest way to do this would be a look checking the name of all events on the map, and then include a specific name sign in the event name in the editor.

Alternatively, you might search for PK8' self switch/variable suite. Those scripts will allow you to add metadata to anything in the game, so you can tag the events with the correct sign at the beginning of a game and then check that in conditional branches later. That also requires a bit of scripting knowledge.

I can't tell you which way would be better for you, they both have advantages and disadvantages depending on what exactly you want to do.
Yeah the move route thing is easy peasy.

And yeah, I was thinking some kind of thing that uses Event Comments or Tile Terrain ID for tagging. I'll take a look at PK8's stuff to see if he has anything useful for me.

More suggestions are still welcome.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-create-a-puzzle-skill.16890/