Trigger not triggering

jeff1959

Member
I am working on setting up a session where the locomotive is under user control.
Rules.jpg
My-Trainz-Screenshot-Image.jpg


I have things set up that the first message pop up is the direction to head out towards the yard, crossing trigger one along the way. when the locomotive gets to trigger 1, a nav point should be created at trackmark 1. However, the locomotive passes trigger one and nothing happens. The second message popup should occur after the nav point is reached. Where did I mess up? I have tried the trigger and track mark first in session layer then in route layer. No difference. The trigger doesn't activate. I realized I had the ordered list command in the wrong place. Outdenting it did not make a difference in this case.
 
Last edited:
I am working on setting up a session where the locomotive is under user control. ..

I have things set up that the first message pop up is the direction to head out towards the yard, crossing trigger one along the way. when the locomotive gets to trigger 1, a nav point should be created at trackmark 1. However, the locomotive passes trigger one and nothing happens. The second message popup should occur after the nav point is reached. Where did I mess up? I have tried the trigger and track mark first in session layer then in route layer. No difference. The trigger doesn't activate. I realized I had the ordered list command in the wrong place. Outdenting it did not make a difference in this case.

You are missing the Navigation Point Complete Rule

Navagation Point Complete.png
 
There are a couple of comments I will make here about your session rules setup.


  • The first Simultaneous List Rule is not needed (as shown in Chritopher824's reply) because all rules that are flush up against the left border are all executed simultaneously.
  • I would recommend that you use the Trigger Check Rule instead of the Trigger Rule which has been obsoleted.
  • The phrase "and waits for it to be closed" in the description of the Message Popup Rule means exactly that - nothing else will happen, including the next instruction (the Trigger Rule), until it is closed. Ordered List Rules will enforce this by only executing the next rule after the previous rule has been completed or terminated. That is probably why the trigger does not work.
  • Message Popup Rules would normally be used under a Simultaneous List Rule so that any following rules will not be held up.

There are several Trainz Wiki pages that I would recommend to you.

Parent and Child Rules - http://online.ts2009.com/mediaWiki/index.php/How_to_Use_Parent_and_Child_Rules
Message Popups - http://online.ts2009.com/mediaWiki/index.php/How_to_Use_Message_Popup_Rule
Navigation Points - http://online.ts2009.com/mediaWiki/index.php/How_to_Use_Navigation_Point_Rules
Session Editor - http://online.ts2009.com/mediaWiki/index.php/How_to_Use_Session_Editor
 
Last edited:
Back
Top