diff options
Diffstat (limited to 'assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md')
-rw-r--r-- | assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md b/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md deleted file mode 100644 index 619cf3f..0000000 --- a/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -titles: -- speed_set_restriction -- speed_merge_aspect -section: 3advtrains -manual: 'Advtrains Developer''s Manual' -shortdesc: apply speed limits to trains ---- - -# Synopsis - -* `set_restriction(train, type, val)` -* `merge_aspect(train, asp)` - -# Description -`set_restriction()` sets the speed restriction of the given type of the given train to `val` and updates train object correspondingly. - -`merge_aspect()` sets the speed restriction of the given train based on the value of the signal aspect. - -# Return Value -`set_restriction()` and `merge_aspect()` do not return any value. |