Method | Description | |
---|---|---|
acceleration ( |
Returns the acceleration of the selected car
|
|
accelerationMotor ( |
Returns the acceleration that the first motor car is currently generating in m/s
|
|
accelerationMotor ( |
Returns the acceleration that the selected car's motor is currently generating in m/s
|
|
brakeCylinder ( |
Returns the brake cylinder pressure of the selected car of the selected train
|
|
brakeNotch ( |
Returns the driver's selected brake notch for the selected train
|
|
brakeNotchLinear ( |
Returns the driver's selected brake notch (Including EB) for the selected train
|
|
brakeNotches ( |
Returns the maximum brake notch for the selected train
|
|
brakeNotchesLinear ( |
Returns the maximum possible brake notch (Including EB) for the selected train
|
|
brakePipe ( |
Returns the brake pipe pressure of the selected car of the selected train
|
|
constantSpeed ( |
Whether the constant speed devicee is currently active for the selected train
|
|
distance ( |
Returns the cartesian distance to the nearest car of the selected train
|
|
distance ( |
Returns the cartesian distance to the selected car of the selected train
|
|
doors ( |
Returns the doors state of the selected train
|
|
doors ( |
Returns the doors state of the selected car of the selected train
|
|
emergencyBrake ( |
Returns whether EB is active for the selected train
|
|
hasAirBrake ( |
Whether the selected train has an automatic air brake
|
|
hasConstantSpeed ( |
Whether the selected train has a constant speed device
|
|
hasHoldBrake ( |
Whether the selected train has a hold brake
|
|
hasPlugin ( |
Whether the selected train uses a custom plugin
|
|
holdBrake ( |
Whether the hold brake is currently active for the selected train
|
|
leftDoors ( |
Returns the left-hand doors state of the selected train
|
|
leftDoors ( |
Returns the left-hand doors state of the selected car of the selected train
|
|
leftDoorsTarget ( |
Returns whether the left doors are opening for the selected train
|
|
leftDoorsTarget ( |
Returns whether the left doors are opening for the selected car of the selected train
|
|
mainReservoir ( |
Returns the main brake reservoir pressure of the selected car of the selected train
|
|
numberOfCars ( |
Returns the number of cars in this train
|
|
pluginState ( |
Whether the selected train has a hold brake
|
|
powerNotch ( |
Returns the driver's selected power notch for the selected train
|
|
powerNotches ( |
Returns the maximum power notch for the selected train
|
|
reverserNotch ( |
Returns the driver's selected reverser position for the selected train
|
|
rightDoors ( |
Returns the left-hand doors state of the selected train
|
|
rightDoors ( |
Returns the left-hand doors state of the selected car of the selected train
|
|
rightDoorsTarget ( |
Returns whether the left doors are opening for the selected train
|
|
rightDoorsTarget ( |
Returns whether the left doors are opening for the selected car of the selected train
|
|
speed ( |
Returns the speed of the selected car
|
|
speedometer ( |
Returns the speed of the selected car, accounting for wheelslip and wheel lock
|
|
straightAirPipe ( |
Returns the brake pipe pressure of the selected car of the selected train
|
|
trackDistance ( |
Returns the track distance to the nearest car of the selected train
|
|
trackDistance ( |
Returns the track distance to the nearest car of the selected train
|
public static acceleration ( |
||
Train | The selected train | |
CarIndex | int | The car for which to get the acceleration |
return | double |
public static accelerationMotor ( |
||
Train | The selected train | |
return | double |
public static accelerationMotor ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static brakeCylinder ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static brakeNotch ( |
||
Train | The selected train | |
return | int |
public static brakeNotchLinear ( |
||
Train | The selected train | |
return | int |
public static brakeNotches ( |
||
Train | The selected train | |
return | int |
public static brakeNotchesLinear ( |
||
Train | The selected train | |
return | int |
public static brakePipe ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static constantSpeed ( |
||
Train | The selected train | |
return | bool |
public static distance ( |
||
Train | The selected train | |
Position | Vector3 | The object's absolute in-game position |
return | double |
public static distance ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
Position | Vector3 | The object's absolute in-game position |
return | double |
public static doors ( |
||
Train | The selected train | |
return | double |
public static doors ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static emergencyBrake ( |
||
Train | The selected train | |
return | bool |
public static hasAirBrake ( |
||
Train | The selected train | |
return | bool |
public static hasConstantSpeed ( |
||
Train | The selected train | |
return | bool |
public static hasHoldBrake ( |
||
Train | The selected train | |
return | bool |
public static hasPlugin ( |
||
Train | The selected train | |
return | bool |
public static holdBrake ( |
||
Train | The selected train | |
return | bool |
public static leftDoors ( |
||
Train | The selected train | |
return | double |
public static leftDoors ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static leftDoorsTarget ( |
||
Train | The selected train | |
return | bool |
public static leftDoorsTarget ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | bool |
public static mainReservoir ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static numberOfCars ( |
||
Train | The selected train | |
return | int |
public static pluginState ( |
||
Train | The selected train | |
pluginState | int | The plugin state to query |
return | int |
public static powerNotch ( |
||
Train | The selected train | |
return | int |
public static powerNotches ( |
||
Train | The selected train | |
return | int |
public static reverserNotch ( |
||
Train | The selected train | |
return | int |
public static rightDoors ( |
||
Train | The selected train | |
return | double |
public static rightDoors ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static rightDoorsTarget ( |
||
Train | The selected train | |
return | bool |
public static rightDoorsTarget ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | bool |
public static speed ( |
||
Train | The selected train | |
CarIndex | int | The car for which to get the speed |
return | double |
public static speedometer ( |
||
Train | The selected train | |
CarIndex | int | The car for which to get the speed |
return | double |
public static straightAirPipe ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
return | double |
public static trackDistance ( |
||
Train | The selected train | |
TrackPosition | double | The object's track position |
return | double |
public static trackDistance ( |
||
Train | The selected train | |
CarIndex | int | The selected car |
TrackPosition | double | The object's track position |
return | double |