Making characters look at each other in cut scenes maybe using screen position. . .

Okay this might be a bit confusing, but in my game, when characters talk in cutscenes, I do two things: 1. I have nearby characters involved in the conversation all turn towards them. and 2. have the camera move and focus on them.

One thing that takes time is changing all the characters to look in the different directions every time someone new talks. I have to do it with Set Move Routes at the moment. I use one of Galv's scripts to move the camera, and its fairly quick and easy.

But then I had a thought: because my camera always switches to whoever is talking, it'd be freaking great if I could have something that made all the characters look towards the center of the screen.

I use both Galv's Move Routes and Yanfly's Movement Scripts. They have options to turn characters towards X, Y Tiles or to events. If I do a cutscene, I can set characters to look at an event and then also to repeat movements. That way, they'll keep looking at the character/event they're locked to until I tell them not to. The annoying thing is if a new character speaks, I still have to go in and tell them which new event to lock to, but at least I don't have to worry about the direction, because the turn towards (x) options for these scripts handle that.

These scripts don't, however, have options to turn towards set pixel positions, otherwise this would be easy.

So, I was thinking, what if I have an invisible event called something like NPC CUTSCENE FOCUS that constantly moved around to whatever the center of the screen is at any given time. Then I could set that at the start for each character and wouldn't have to tell them the new event to look at every time it needed to change.

So, I sort of know what I want to do, but not how. Is it even possible?
maybe a hybrid solution: order your characters to look to specific variables (or, *one* variable), *don't* have a director event, and *have* your cutscene save to that variable the expression of the event's coordinates you want your characters to look towards.
if you want to look towards a character, set that variable to [event.x, event.y].
if you want to look to a specific coordinate, set it to a specific [X,Y]
regardless, your characters will always look to "whatever that variable says", and "that variable" will always be the same.
You could have an event that has no graphic, and make all the NPCs "look" at the event, then when someone else is speaking you can use Set Event Location to move the event to that person's location, and everyone will look at them. (Make the "turn toward character" a part of a move route that's set to repeat)
You could have an event that has no graphic, and make all the NPCs "look" at the event, then when someone else is speaking you can use Set Event Location to move the event to that person's location, and everyone will look at them. (Make the "turn toward character" a part of a move route that's set to repeat)

Yeah, this is basically what I tried first, and it works pretty well. The only annoying thing I've found is that my characters do move around a lot and its hard because you can't see exactly where you need to place that invisible Look event. It has to be dead on the NPC that is speaking as well, otherwise the character who is speaking will turn and look as well, which is obviously no good.

I think I'm better off just using the turn toward event option and changing it manually when needed. Another issue with your way is that that look event is locked to one spot. If my characters ran around or something, the other characters won't follow that event.
You can use Control Variables to get the X and Y coordinates of the event that is speaking. Then use those variables in the Set Event Location command. As long as the character who's speaking isn't walking around, it should be okay (or if they're walking around on a move route, rather than randomly, you can just refresh the variables as they move).

Original thread: https://forums.rpgmakerweb.com/threads/making-characters-look-at-each-other-in-cut-scenes-maybe-using-screen-position.108162/