Railroad Station

Parent

The train station master platform. This platform holds the name and manages docking of trains.

Properties

dockedOffset : Int

The Offset to the beginning of the station at which trains dock.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Docked Offset

name : String

The name of the railroad station.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Name

Signals

CancelDocking ()

Triggers when a train cancels the docking procedure.

FinishDocking ()

Triggers when a train finished the docking procedure and is ready to depart the station.

StartDocking (Bool Successful successful, Trace<RailroadVehicle> Locomotive locomotive, Float Offset offset)

Triggers when a train tries to dock onto the station.

Details
Parameters
Name Type Description

Successful successful

Bool

True if the train successfully docked.

Locomotive locomotive

Trace<RailroadVehicle>

The locomotive that tries to dock onto the station.

Offset offset

Float

The offset at witch the train tried to dock.