From f90a7a77ef9e76216fe4156e04223e032a91ec2c Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 20 Nov 2018 12:08:37 +0100 Subject: Add Note regarding pcnaming and interlocking signals --- advtrains_luaautomation/README.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt index 2963192..d01be05 100644 --- a/advtrains_luaautomation/README.txt +++ b/advtrains_luaautomation/README.txt @@ -218,4 +218,7 @@ Once you set a name for any component, you can reference it by that name in the setstate("Stn_P1_out", "green") instead of setstate(POS(1,2,3), "green") This way, you don't need to memorize positions. +PC-Naming can also be used to name interlocking signals for route setting via the set_route() functions. IMPORTANT: The "Signal Name" set in the +signalling formspec is completely independent and can NOT be used to look up the position, you need to explicitly use the PCNaming tool. + --TODO: Ein paar mehr Codebeispiele wären schön, insbesondere mit os.date und so... -- cgit v1.2.3