Approch Lit Scripting / Questions

Hello, I was wondering if it would please be possible to make a script where you can decide how many min / seconds it takes before the signals shut off, when the last car passes the signal?
For example: the lights shut off immediately once the final car passes, but I want the lights to stay red, until maybe after 4 or 5 min, and then shut off.
I tried to do it with mileposts but it didn't work.
Another question is, is there a way to have the signals activate when there's a train coming from the opposite direction that the signal is facing?
When I was testing with them, I saw a train that was approching but the signal never activated and remained off.

Thanks in advance!
 
Back
Top