Herman Posted November 3, 2020 Share Posted November 3, 2020 I started with 3D train Studio in march 2020, and bought V6. Can anybody give some help please. It is quite specific. Relation between the track contact caused by a signal on that track, and the signal itself. In an event "track contact is triggered" how can i find the object name of that corresponding signal ? If so we can use the variables of that signal. A vehicle ( = wagons + locomotive ) hits the track contact of a signal. The wagons are in front of the Locomotive. How can I find the name of the object of the hitting Locomotive ? I tried ( even in version 5 ) local vehicles = layout:getVehiclesOn(signal) , but in this case it is not working, beause the locomotive is not on that Signal's trackcontact. Thanks if someone can give an answer. Kind Regards Herman Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now