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-03-02 20:18] orwell commit 6135f8a2 part 2 |
usage:atlatc:api [2021-05-26 22:03] 56independent added an function wich didnt exist. |
||
---|---|---|---|
Line 78: | Line 78: | ||
=== interrupt_safe(time, | === interrupt_safe(time, | ||
- | //since version 3.0// | + | //since version |
Like '' | Like '' | ||
Line 88: | Line 88: | ||
=== clear_interrupts() === | === clear_interrupts() === | ||
- | //since version 3.0// | + | //since version |
Removes any pending interrupts (both of type ' | Removes any pending interrupts (both of type ' | ||
Line 94: | Line 94: | ||
==== Remote ATC ==== | ==== Remote ATC ==== | ||
- | //since version 3.0// | + | //since version |
In addition to '' | In addition to '' | ||
Line 253: | Line 253: | ||
If there is no train, same behavior as [[# | If there is no train, same behavior as [[# | ||
+ | |||
+ | === train_length() === | ||
+ | Returns the length of the Train in carrages. example '' | ||
=== set_shunt() === | === set_shunt() === | ||
Line 262: | Line 265: | ||
=== atc_set_ars_disable(value) === | === atc_set_ars_disable(value) === | ||
+ | |||
+ | //since version 2.3.0// | ||
+ | |||
Enables ('' | Enables ('' | ||
This function has essentially the same effect as the ATC command '' | This function has essentially the same effect as the ATC command '' | ||
- | |||
- | **This function is experimental and currently available only in the '' | ||
=== atc_set_lzb_tsr(speed) === | === atc_set_lzb_tsr(speed) === | ||
+ | |||
+ | //since version 2.3.0// | ||
Adds a Temporary Speed Restriction at the current rail, so that the train is passing the rail at the specified '' | Adds a Temporary Speed Restriction at the current rail, so that the train is passing the rail at the specified '' | ||
Line 276: | Line 282: | ||
* This function is available only when the [[wiki: | * This function is available only when the [[wiki: | ||
* This function is only accessible during '' | * This function is only accessible during '' | ||
- | |||
- | **This function is experimental and currently available only in the '' | ||
==== Fields ==== | ==== Fields ==== |