Curt84328 Posted April 30, 2019 Posted April 30, 2019 I have some Locomotives in my layout that do not have built in sound (Thanks goes to Reinhard for creating them), and I want to add certain sounds under certain conditions. Can I read the speed of a locomotive, and depending on speed activate certain sounds? I'm pretty sure the speed can be read when the locomotive is on a certain track, but can that speed then be checked against a value, (say > 10)
BahnLand Posted April 30, 2019 Posted April 30, 2019 Hello Curt, you can read the locomotive's speed at every time. And you can check it against a specific value as shown below in case of a "train enters/leaves a track" event: If you know the explicit name of the locomotive, naturally you can also specify the locomotive's name instead of the "_Trigger1" reference shown above. See also the example below - e.g. assign speed 60 to the locomotive and look what happens. SpeedCheck.mbp Many greetings BahnLand
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now