How to Control Junctions in Sessions
From TrainzOnline
(Difference between revisions)
m |
m |
||
Line 161: | Line 161: | ||
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td width= | + | <td width=10>[[image:DotPoint.JPG|10px|link=]]</td> |
+ | <td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' to create a navigation point set (for '''Preconditions''' above)</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|10px|link=]]</td> | ||
<td>'''[[Session_Rule_List_with_Parameters#Wait_on_Navigation_Point_Rule|Wait on Navigation Point Rule]]''' to trigger the event</td> | <td>'''[[Session_Rule_List_with_Parameters#Wait_on_Navigation_Point_Rule|Wait on Navigation Point Rule]]''' to trigger the event</td> | ||
</tr> | </tr> |
Revision as of 14:57, 4 October 2023
The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. It gives examples of how junctions can be controlled using Session Rules.
|
|
The following applications give examples of using Session Rules to control junctions.
Application 1: Presetting Junctions |
The Scenario: | |
When a consist reaches a trigger, the junctions ahead are set and configured (e.g. locked/unlocked, AI control allowed/disallowed) |
Rules Used: | ||||
|
Session Editor Screenshot: | |
Description: | |
Line 1 : Trigger Check The event is triggered when the consist reaches a trigger. This executes the following rule:-
For example:- |
Application 2: Asking the User to Set Junctions |
The Scenario: | |
A consist has been halted at a trigger placed in front of a junction. The user will be asked to set that junction and the following junction before the consist can proceed |
Preconditions: | ||
Navigation Display Rule to create a navigation point set |
Rules Used: | ||||||||
|
Session Editor Screenshot: | |
Description: | |||
Line 1 : Wait on Navigation Point The event is triggered when the consist halts at the navigation point assigned to the trigger. This executes the following rules simultaneously:-
|
Trainz Wiki
More Tutorials and Guides to Using Trainz |
This page was created by Trainz user pware in May 2018 and was last updated as shown below.