diff options
-rw-r--r-- | advtrains_luaautomation/README.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_luaautomation/README.txt b/advtrains_luaautomation/README.txt index fd49f27..bf7ac52 100644 --- a/advtrains_luaautomation/README.txt +++ b/advtrains_luaautomation/README.txt @@ -207,9 +207,11 @@ split_at_fc(command) Splits the train in such a way that all cars with non-empty current FC of the first part of the train have the same FC. The command specified is sent to the rear part, as with split_at_index. + It returns the fc of the cars of the first part. Example: Train has current FCs "" "" "foo" "bar" "boo" "foo" Result: first train: "" "" "foo"; second train: "bar" "boo" "foo" + The command returns "foo" in this case step_fc() Steps the FCs of all train cars forward train_length() |