aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-08-11 17:47:39 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-08-11 17:47:39 +0200
commitef50610f675c85cb0c85eb200018896cefd0cc11 (patch)
tree69c64c19048aaf16c7789d4e0bfbedf60a95207e
parent1f6038c75a1f928951c8b4513c5c3f7615b78d99 (diff)
downloadadvtrains-ef50610f675c85cb0c85eb200018896cefd0cc11.tar.gz
advtrains-ef50610f675c85cb0c85eb200018896cefd0cc11.tar.bz2
advtrains-ef50610f675c85cb0c85eb200018896cefd0cc11.zip
Document luaatc decoupling
-rw-r--r--advtrains_luaautomation/README.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt
index d277cf5..a07bbb4 100644
--- a/advtrains_luaautomation/README.txt
+++ b/advtrains_luaautomation/README.txt
@@ -188,6 +188,9 @@ get_rc()
set_rc(routingcode)
Sets the "Routingcode" property of the train (a string).
The interlocking system uses this property for Automatic Routesetting.
+split_at_index(index, command)
+ Splits the train at the specified index, into a train with index-1 wagons and a second train starting with the index-th wagon.
+ command specifies an atc command to be sent to the second train after decoupling.
# Operator panel
This simple node executes its actions when punched. It can be used to change a switch and update the corresponding signals or similar applications.