From ef50610f675c85cb0c85eb200018896cefd0cc11 Mon Sep 17 00:00:00 2001 From: Gabriel PĂ©rez-Cerezo Date: Sun, 11 Aug 2019 17:47:39 +0200 Subject: Document luaatc decoupling --- advtrains_luaautomation/README.txt | 3 +++ 1 file changed, 3 insertions(+) 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. -- cgit v1.2.3