Curt84328 Geschrieben 23. April 2015 Teilen Geschrieben 23. April 2015 I know this can be done, but not how. I want to read the current speed of a locomotive and store it as a variable, then later set the locomotive speed back to that speed after stopping. also, I have some steep grades on my layout, and the locomotive slows down. is there a way to keep the actual speed constant? Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
EASY Geschrieben 23. April 2015 Teilen Geschrieben 23. April 2015 Hi Curt84328,1) ... the current speed see wiki..."6. Variables" -> Objektname._CurrentSpeed: Returns the current actual speed of the object in mm / s back (if it is the object is a locomotive, otherwise 0 is returned)2) ...take this to "off"EASY Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Henry Geschrieben 23. April 2015 Teilen Geschrieben 23. April 2015 try out the zipped file from hereyou must store the current speed into a local variable by the signal. The _trigger event is for the moment to store the speed , so you can later assign the speed from the signal variable to the loco.To get constant speed in steep grades you must deaktivate the automatic speed adjustment in the properties window.regards,Henry Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
BahnLand Geschrieben 23. April 2015 Teilen Geschrieben 23. April 2015 Hello Curtis,for grabbing the current speed of a locomotive and storing it into an event variable look here.Many greetingsBahnLand Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden