Script call for event priority?

Is there a script call to change event priority?
Where id is the event's id (no leading zeros), and priority is 0 for below characters, 1 for same as characters, or 2 for above characters, use the following script calls:


$gameMap.event(id).setPriorityType(priority)


Or in a move route on the event:


this.setPriorityType(priority)


This will only apply until the event is refreshed (by reloading the map) or the event's active page is changed.  It is not a permanent change, so if you need it to be, you'll have to look at a parallel process event that runs under the appropriate conditions, changes the event's priority, then erases itself.
Thanks! 

Now my cutscene is complete.


Problem solverd!

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-event-priority.70816/