blob: 1df53581f40cc00d4c64191644a4ced6cb3cda04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
% SPEED_SET_RESTRICTION(3ADVTRAINS) | Advtrains Developer's Manual
# NAME
`set_restriction`, `merge_aspect` - 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.
|