Invoke a common event in a movement route

I'd like to invoke a common event in a movement route, and found these two script calls, but neither of them could work.
Can anyone give me some clue? Thank you so much.

P.S. 26 is the id of the common event I've made.

$gameMap._interpreter.command117([26]);
$gameTemp.reserveCommonEvent(26);
Maybe this workaround fits in your Situation.
In the Movement Command you could turn On a Switch.
That Switch can be used as Condition/Trigger for a parallel running Common Event.
the problem is that you cannot call a common event directly.

those script commands do work, but they do exactly as they are named: RESERVE common event, which means setting a signal to execute the common event at the next possible time. And that possible time is outside the timing of the move route.
Ah, I see. Thank you Bex and Andar.
Knowing the limit is good.
I'll try other ways.

Perhaps I'll just use the event content to set the route and call the common event, since this event doesn't have to interact with the actor.
What are you trying to build?
Maybe we can suggest alternative solutions to achieve it.
I'm making an npc with interesting movement route.

This specific npc would walk few steps and, either find treasure or find nothing and feel frustrated.

About feeling frustrated, I use balloon, which I've already learned how to use a script call to do it.

About finding treasure, I put system icon above my npc. Caethyril told me it needs to be done with a plugin, like VS plugin, which I have. However, VS event and movement core seems to have only plugin command for this job, but no script call. That's why I tried to make a common event and call it in the movement route.

As I learned from you guys, it's not possible to call a common event in the movement route. However, since this specific npg locates in an isolated area, and no interacting with my actor, I decide to put all those movement in the event content with parallel trigger. That way, my goal can be achieved, too.

Original thread: https://forums.rpgmakerweb.com/threads/invoke-a-common-event-in-a-movement-route.153074/