Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Name | Type | Range | Short description |
---|
TrackSpeeds | int[48] | [ -255 , 255 ] | The speed per track. Track names can be used as indices. (e.g. KH_ST_0) |
Points | int[30] | {BRANCH, STRAIGHT} | The numbered values of the switchable intersection points. (e.g. 23) |
TrackSignals | bool[40][2] | {true, false} | The signals on each track. If the track contains signals it's always two. Track names can be used as indices. (e.g. KH_ST_1) |
Ouputs
Name | Type | Range | Short description |
---|
TrainPositions | int[15] | [ 0 , 47 ] | The position, that a given train currently occupies. (e.g. Train TRAIN_KH_ST_0 occupies KH_ST_0 on startup) |
TrainSpeeds | int[15] | [ -255 , 255 ] | The speed, that a given train currently occupies (e.g. Train TRAIN_KH_ST_0 has speed 100) |
Error | string |
| Error messages. (e.g. If a required track signal did not trigger) |