Returning Event ID with Yanfly's Move Route Core

I'm not a coder, but most days I can kludge my way through simple problems with a little bit of research. Today is not one of those days.

So, Event 004 calls Common Event. Common Event evaluates player's position and makes player approach Event 004 if they are more than 5 steps away. I use the script this.moveToEvent(x) with Yanfly's Move Route Core but I run into the following problem...if I specify the exact event index number the code works - this.moveToEvent(4).

But if I try to return the event's ID with this.moveToEvent(this._eventId); or this.moveToEvent($gameMap.event(this._eventId)); then it doesn't work. I tried other examples mentioned here but none of those work either. What is the proper way to get the event ID in this case? What am I missing? Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/returning-event-id-with-yanflys-move-route-core.82034/