aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/README.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-11-20 12:08:37 +0100
committerorwell96 <orwell@bleipb.de>2018-11-20 12:08:37 +0100
commitf90a7a77ef9e76216fe4156e04223e032a91ec2c (patch)
treeeb6c6ea0cfff6aaf37996ba3182df8019b9b3b71 /advtrains_luaautomation/README.txt
parentdf29faccc05a939b1f20b60d9b497c08eb2d417e (diff)
downloadadvtrains-f90a7a77ef9e76216fe4156e04223e032a91ec2c.tar.gz
advtrains-f90a7a77ef9e76216fe4156e04223e032a91ec2c.tar.bz2
advtrains-f90a7a77ef9e76216fe4156e04223e032a91ec2c.zip
Add Note regarding pcnaming and interlocking signals
Diffstat (limited to 'advtrains_luaautomation/README.txt')
-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 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...