aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_luaautomation/README.txt
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-03-30 21:51:45 +0200
committerorwell96 <mono96.mml@gmail.com>2017-03-30 21:51:45 +0200
commit606c129f5796eb56e9abd1049954cf1ca0b8f410 (patch)
tree3fccf8a941f8a51c3f7472a50db4ac0026e2be2d /advtrains/advtrains_luaautomation/README.txt
parentb5a5d9035f83c47e64b3b0e3343c9de519391907 (diff)
downloadadvtrains-606c129f5796eb56e9abd1049954cf1ca0b8f410.tar.gz
advtrains-606c129f5796eb56e9abd1049954cf1ca0b8f410.tar.bz2
advtrains-606c129f5796eb56e9abd1049954cf1ca0b8f410.zip
Add support to display text to passengers and on the outside of the train
Outside is currently displayed as infotext. TODO: signs-like draw it on the wagon FIXME: When object properties are set, for some reason the animation restarts
Diffstat (limited to 'advtrains/advtrains_luaautomation/README.txt')
-rw-r--r--advtrains/advtrains_luaautomation/README.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/advtrains/advtrains_luaautomation/README.txt b/advtrains/advtrains_luaautomation/README.txt
index 1d29786..907b2fb 100644
--- a/advtrains/advtrains_luaautomation/README.txt
+++ b/advtrains/advtrains_luaautomation/README.txt
@@ -122,6 +122,10 @@ atc_id
Train ID of the train currently passing the controller. Nil if there's no train.
atc_speed
Speed of the train, or nil if there is no train.
+atc_set_text_outside(text)
+ Set text shown on the outside of the train. Pass nil to show no text.
+atc_set_text_inside(text)
+ Set text shown to train passengers. Pass nil to show no text.
# 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.