
CSX2057 wrote:I'm glad he did!![]()
But I wish I can figure out how to add it in the cab :/ I may have to use the NEC Defect Detector.
-- Track messages.
-- Handles detector messages.
function OnCustomSignalMessage ( Parameter )
if ( Call( "GetIsPlayer" ) == TRUE ) and ( Call ("GetIsEngineWithKey") == TRUE ) then
Detect = string.sub ( Parameter, 14, 15 )
if Detect == "1" then
Detect1 = Call( "*:GetControlValue", "TrackDetect1", 0 )
Call( "*:SetControlValue", "TrackDetect1", 0, Detect1 + 1 )
elseif Detect == "2" then
Detect2 = Call( "*:GetControlValue", "TrackDetect2", 0 )
Call( "*:SetControlValue", "TrackDetect2", 0, Detect2 + 1 )
end
I just wanna double check. Does NEC route and Donner Pass route has Defect detector?Users browsing this forum: No registered users and 1 guest