Signal script definition contains a function OPP_SIG_ID, which returns the ident of the first signal of the requested type in opposite direction to the direction of the train.
This function searches for the signal through the path backwards as set through the actual setting of the switches. However, if these switches are set to the path of another train in that area, the signal as found may not always be the correct signal which is being searched, as that signal is in the other train's path and may not be in the path of the train for which the search is done.
To avoid this error, a new signal function is proposed : OPP_SIG_ID_TRAINPATH. This will search for the required signal using the actual train's path, disregarding the actual setting of any switches in this path.
Regards,
Rob Roeterdink
Page 1 of 1
Proposed new signal function : OPP_SIG_ID_TRAINPATH
Page 1 of 1