Script SC91 Train flip (by adlet)
This script triggers train flip (if necessary) in the desired direction upon train arrival at a specified line stop or passing of a signal in a forward direction. Only applies to trains with push-pull, control and loco tags.
Use case:
• When a train is intervened, it will respawn with train head facing the direction of travel. Sometimes this may not be the right train orientation.
• Since train interventions tend to be unpredictable, this script helps fix train orientation on a regular basis.
Setup notes:
• Attach to a line stop where the flip would happen, following train arrival.
• Alternatively can attach to a marker (only triggered when passed forward).
• Flip occurs after the delay you enter.
• Passengers remain on board.
• Set the desired orientation for the train at this stop – forward if the train should be driving from this stop left end of the train mod first, and backward if right end of the mod.
• The effect can be limited to trains with a selected tag only. Tag is optional.
• There is no need to place this script on every stop of a line or even every run. Usually it is sufficient to have train flip fixed once a day (e.g. in depot).