Jump to content
Sign in to follow this  

Reading Locomotive speed (all tracks) and comparing to a variable

Recommended Posts

Is there a way to read the current speed of a locomotive on all tracks and compare it to a variable?  This would be used to control Side Steam Jets.

would $_Trigger1.CurrentSpeed work, 


Share this post

Link to post
Share on other sites

Hello Curt,

$_Trigger1.CurrentSpeed works only in connection with an event, where _Trigger1 represents a locomotive (a driven vehicle) as trigger (e.g, "train enters/leaves a track"). If you know the concrete name of the considered locomotive (e.g. "loco01"), the CurrentSpeed (e.g. loco01.CurrentSpeed) can be evaluated anytime.

Please look to that comment regarding the new V5 of Train Studio, which is coming soon as beta version.

Many greetings


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this