From 8660794ef8392f08fa5be46715abb5dcbd96ca5d Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 28 Apr 2020 16:01:35 +0200 Subject: Fix lots of things around new LZB --- advtrains_luaautomation/README.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'advtrains_luaautomation/README.txt') diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt index 3e9a257..7c064cc 100644 --- a/advtrains_luaautomation/README.txt +++ b/advtrains_luaautomation/README.txt @@ -247,8 +247,10 @@ set_shunt(), unset_shunt() -- This additional function is available when advtrains_interlocking is enabled: -- -atc_set_disable_ars(true) +atc_set_disable_ars(boolean) Disables (true) or enables (false) the use of ARS for this train. The train will not trigger ARS (automatic route setting) on signals then. + Note: If you want to disable ARS from an approach callback, the call to atc_set_disable_ars(true) must happen during the approach callback, + and may not be deferred to an interrupt(). Else the train might trigger an ARS before the interrupt fires. # Approach callbacks The LuaATC interface provides a way to hook into the approach callback system, which is for example used in the TSR rails (provided by advtrains_interlocking) or the station tracks (provided by advtrains_lines). However, for compatibility reasons, this behavior needs to be explicitly enabled. -- cgit v1.2.3