Open Rails

AI.CreateAITrainDetail Method

[This is preliminary documentation and subject to change.]

Creates the detail of an AI train Moves the models down 1000M to make them invisible. called also in case of autopilot mode

public AITrain CreateAITrainDetail(
   Service_Definition sd,
   Traffic_Service_Definition trfDef,
   bool isInitialPlayerTrain
);

See Also

AI Class | ORTS Namespace