Open Rails

TrainControlSystem.SetEmergency Method

[This is preliminary documentation and subject to change.]

Called by signalling code externally to stop the train in certain circumstances.

public abstract void SetEmergency(
   bool emergency
);

See Also

TrainControlSystem Class | ORTS.Scripting.Api Namespace