BETA — Preview build
Skip to content

Vehicles ​

These actions drive your locomotives. Every script works with one selected vehicle at a time: first select a vehicle, and all vehicle actions after it control that vehicle.

ActionWhat it does
Select vehicleChoose which vehicle the next actions apply to.
Select from feedbackSelect the vehicle that a feedback sensor detects (RailCom).
Set speedDrive at a given speed, from 0 to 100%.
Stop vehicleSet the speed to 0.
Set directionDrive forward or reversed.
Toggle directionSwitch to the opposite direction.
Set functionTurn lights, sounds or other functions on or off.
Set profileApply one of the vehicle's profiles (idle, shunting, slow, medium, fast).
Store stateRemember the vehicle's speed, direction and functions.
Restore statePut the vehicle back to the stored state.

INFO

When no vehicle is selected, the vehicle actions do nothing and the script simply continues.