Jump to content

Recommended Posts

Posted

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)

Posted

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:

764151374_Speedcondition.jpg.4bc08d5f034a5f9b9fc9691a46bf954a.jpg

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

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
×
×
  • Create New...