Multiple move routes script call?

I have several small groups of NPCs standing around talking to each other. Someone comes in and speaks. Everyone, of course, turns towards the speaker.

Which means that I have 19 separate Set Move Route commands, one for each NPC, all saying Turn down.

Then as the speaker moves through the room, each group needs to turn so that they are still facing him as he talks, so 4 commands saying Turn Right, 5 saying Turn Left and so on.

Is there a way of calling an identical move route for multiple events? Or am I stuck for ever with endless separate commands?

Thank you.
I always write my move routes through script, so I just need to call the method for two different events ( and I do that a lot ), but if you want to configure the events with a regular "set move route" command, I guess this could work:

This line will copy the route from event 20 to event 15:

$game_map.events[15].force_move_route($game_map.events[20].move_route)you may need to add this to a new item on the script editor for it to work:

class Game_Character < Game_CharacterBase    attr_reader :move_routeendI can't really run rpg maker right now to test if it really works.
@Hudell

That looks like it would work - but I think it is just as much work as doing individual event commands because, unless I have misunderstood, I'd have to do that script call for each event anyway, changing the event id each time.

Is that correct?

EDIT

Also, how would it know which move of event 20 is the one that I want to copy as in this case there will be different moves for that event as the speaker moves through the room?
Yes, you would need to call it for each event, but it would copy the whole route, so you would only need to define the route once and use that script call to copy it. That's what I thought you wanted.

If you want to copy to many events at the same time, you could do this:

Code:
[17, 21, 34, 87].each do |event_id|  $game_map.events[event_id].force_move_route($game_map.events[20].move_route)end
Your latest suggestion looks like it hits the nail on the head.  It seems to be working just fine.

Thank you very much for this.  It will, over the course of many cut scenes, save me a lot of time.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/multiple-move-routes-script-call.40218/