This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
usage:atlatc:api [2021-02-17 23:38] orwell add api of commit 5232c22f |
usage:atlatc:api [2021-03-02 20:18] orwell commit 6135f8a2 part 2 |
||
---|---|---|---|
Line 92: | Line 92: | ||
Removes any pending interrupts (both of type ' | Removes any pending interrupts (both of type ' | ||
+ | ==== Remote ATC ==== | ||
+ | |||
+ | //since version 3.0// | ||
+ | |||
+ | In addition to '' | ||
+ | |||
+ | === atc_send_to_train(train_id, | ||
+ | |||
+ | Sends the specified [[usage: | ||
+ | |||
+ | The ATC command is instantly applied to the train in question, regardless of where it is and what it is doing. It also cancels any active ATC command of the train. | ||
+ | |||
+ | Calling this function from an ATC rail is independent of any train that stands on the rail and does not affect it (except of course when train_id happens to be the ID of the train on the rail). | ||
==== Railway Time ==== | ==== Railway Time ==== | ||
Line 209: | Line 222: | ||
=== atc_set_text_inside(text) === | === atc_set_text_inside(text) === | ||
Sets the text shown inside the train and returns '' | Sets the text shown inside the train and returns '' | ||
+ | |||
+ | === atc_get_text_outside() / atc_get_text_inside() === | ||
+ | Gets the outside/ | ||
=== get_line() === | === get_line() === |