Open Rails

AITrain.CreateTrainAction Method

[This is preliminary documentation and subject to change.]

public void CreateTrainAction(
   float presentSpeedMpS,
   float reqSpeedMpS,
   float distanceToTrainM,
   ObjectItemInfo thisItem,
   AI_ACTION_TYPE thisAction
);

See Also

AITrain Class | ORTS Namespace