Save-Point
Is there a script to make train actors face the same way as the player? - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Is there a script to make train actors face the same way as the player? (/thread-13442.html)



Is there a script to make train actors face the same way as the player? - Ace_V - 03-28-2026

I use Fukuyama's original train actors script and it's been solid for regular gameplay.
However, for some cutscenes with dialogue, I would love to make the whole party face the same direction and perhaps change direction together via a script call.
I intend to make a move command at the start of some cutscenes to make the player move (e.g. down, left, up, right, down, turn right) so the train becomes a 2x2 square of the party and the main player is in the bottom front corner facing forward, and I'd love a script to make the three train actors face the same way as the player actor.

(Alternatively, a script to make the three train actors form the square themselves, though this one could be a bit tricky to work with in some cutscenes)

Could anyone help?