Help..Junction.SetDirection

Nellodd

New member
Hi all, I'm finding it difficult to set some junctions on my route via script, (junction.SetDirenction(position) because the AI trains take control of the junctions and changes them.. If I request permission with [Permit permit = junction.RequestPermit (me); Junzione.SetDirection(position)] nothing works, my aim is to set the switches with my script and prevent the AI trains from being able to change them.. what am I doing wrong?? Help me please.. I don't want to use the rule - set Junction - but use my script.. thanks
 
I don't know if you can. I would look at the log to see what response you are getting from the system. Also use print statements.
 
Back
Top