Does anyone know if it is possible to activate a sound for a wagon based on a control value, like we routinely do with engines?
For example, when driving an engine, when you hit the space bar you change a control value like "bell" from 0 to 1. In the sound proxyxml file the bell sound is activated by this control value.
Is this reserved for engines or is this possible for wagons too?
What I'm trying to do is to change a control value using a lua script. Basically, something like "if we're traveling forwards and at speed greater than 20mph and it is between 1AM and 7AM, then turn control value "bell" from 0 to 1". Then in the proxyxml file I'd activate the sound based on this control value.
