Pause the sessions execution through a driver command

TRS17985

Member
Hi all,

Is there a way to interrupt (pause) a running session in driver with a driver command. I would like to interrupt the game and trace the behavior of a specific driver in a long running session.

Any hints?

Thanks a lot
 
Do you mean something like debugging code by stepping through each command or something else. I don't know of any driver command that can pause everything happening in a session like the pause button. You can use Wait commands but that only stops the one train that is running the command sequence. Everything else continues to move through time.
 
There is a rule that ends the session. I would like to have a rule that pauses the session until I unpause the session with Ctrl P.

Can this be done via a script?
 
There is a rule that ends the session. I would like to have a rule that pauses the session until I unpause the session with Ctrl P.

Can this be done via a script?
I have seen it done but that was on the Razorback Railway and the scenarios were all coded with Trainzscript rather than using driver commands. So I would say it is possible or at least was possible back in 2004. Trainzscript has changed a lot since then. I would ask the mod to move this thread to the scripting forum. The guys who know Trainzscript inside and out hang out there.
 
Back
Top