Parent Rule List: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Pware (talk | contribs)
mNo edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table>
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>
<td>'''Parent Rules''' are session rules that can have one or more sub-rules or '''Child Rules''' indented under them. Only certain rules can be Parent Rules.</td>
<table width=996 bgcolor=#ffffff cellpadding=2>
<tr valign="middle">
<td width=35>[[image:Information.png|35px|link=]]</td>
<td><span style="font-size: 15px;">The information in this Wiki Page identifies some of the main '''Parent''' rules available in the '''Session Editor''' for '''TANE''', '''TRS19''', '''TRS22''' and '''Trainz Plus'''.</span></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>'''Parent Rules''' are session rules that can have one or more sub-rules or '''Child Rules''' indented under them</td>
</tr>
<tr valign="top">
<td>[[image:BlueDot10x10.png|link=]]</td>
<td>'''Parent Rules''' are the "decision makers" in interactive Sessions, they decide when and how the '''Child Rule''' will be executed</td>
</tr>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>Only certain rules can be '''Parent Rules'''</td>
</tr>
</tr>
</table>
</table>
----
<br>
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729>&nbsp;</td>
<td width=46>&nbsp;</td>
<td width=75>&nbsp;</td>
<td width=75>&nbsp;</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Parent Rules that Apply a Logic Test Before Executing Child Rules'''=
='''Parent Rules that Apply a Logic Test Before Executing Child Rules'''=
<table cellpadding=4 bgcolor=#ffffff>
<tr valign="top">
<td width="58">[[image:RulesWiki.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Rules List:'''</span><br>


*'''[[Session_Rule_List_with_Parameters#Achievement_Check_Rule|Achievement Check Rule]]'''. Executes Child Rules when set achievement levels have been reached.
*'''[[Session_Rule_List_with_Parameters#Achievement_Check_Rule|Achievement Check Rule]]'''. Executes Child Rules when set achievement levels have been reached.
*'''[[Session_Rule_List_with_Parameters#Consist_Check_Rule|Consist Check Rule]]'''. Executes Child Rules when a consist contains specific vehicles or vehicle types.
*'''[[Session_Rule_List_with_Parameters#Consist_Check_Rule|Consist Check Rule]]'''. Executes Child Rules when a consist contains specific vehicles or vehicle types has been formed.
*'''[[Session_Rule_List_with_Parameters#Control_Check_Rule|Control Check Rule]]'''. Executes Child Rules when the driver control method has changed or a specific control method has been set.
*'''[[Session_Rule_List_with_Parameters#Control_Check_Rule|Control Check Rule]]'''. Executes Child Rules when the driver control method has changed or a specific control method has been set.
*'''[[Session_Rule_List_with_Parameters#Coupler_Breakage_Check_Rule|Coupler Breakage Check Rule]]'''. Executes Child Rules when a coupler has been broken.
*'''[[Session_Rule_List_with_Parameters#Coupler_Breakage_Check_Rule|Coupler Breakage Check Rule]]'''. Executes Child Rules when a coupler has been broken.
Line 39: Line 73:
*'''[[Session_Rule_List_with_Parameters#Wait on Train Stop/Start Rule|Wait on Train Stop/Start Rule]]'''. Executes child rules when a train stops or starts moving.
*'''[[Session_Rule_List_with_Parameters#Wait on Train Stop/Start Rule|Wait on Train Stop/Start Rule]]'''. Executes child rules when a train stops or starts moving.
*'''[[Session_Rule_List_with_Parameters#Wait on Waybill Screen/Main Screen Rule|Wait on Waybill Screen/Main Screen Rule]]'''. Executes child rules when the Waybill window is opened or closed.
*'''[[Session_Rule_List_with_Parameters#Wait on Waybill Screen/Main Screen Rule|Wait on Waybill Screen/Main Screen Rule]]'''. Executes child rules when the Waybill window is opened or closed.
*'''[[Session_Rule_List_with_Parameters#Wait Rule|Wait Rule]]'''. Executes child rules after waiting for set number of seconds.
*'''[[Session_Rule_List_with_Parameters#Wait Rule|Wait Rule]]'''. Executes child rules after waiting for set number of seconds.</td>
</tr>
</table>
<br>
<br>
='''Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules'''=
='''Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules'''=
<table cellpadding=4 bgcolor=#ffffff>
<tr valign="top">
<td width="58">[[image:RulesWiki.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Rules List:'''</span><br>


*'''[[Session_Rule_List_with_Parameters#Ordered List Rule|Ordered List Rule]]'''. Executes all Child Rules individually in sequential order.
*'''[[Session_Rule_List_with_Parameters#Ordered List Rule|Ordered List Rule]]'''. Executes all Child Rules individually in '''sequential order'''.
*'''[[Session_Rule_List_with_Parameters#Progressive List Rule|Progressive List Rule]]'''. Executes Child Rules progessively each time the list is run.
*'''[[Session_Rule_List_with_Parameters#Progressive List Rule|Progressive List Rule]]'''. Executes Child Rules '''progressively''' each time the list is run.
*'''[[Session_Rule_List_with_Parameters#Random List Rule|Random List Rule]]'''. Executes once only and randomly selects one Child Rule to execute.
*'''[[Session_Rule_List_with_Parameters#Random List Rule|Random List Rule]]'''. Executes once only and '''randomly selects one Child Rule''' to execute.
*'''[[Session_Rule_List_with_Parameters#Reset List Rule|Reset List Rule]]'''. Executes all Child Rules in order and continuosly.
*'''[[Session_Rule_List_with_Parameters#Reset List Rule|Reset List Rule]]'''. Executes '''all''' Child Rules in order and '''continuously'''.
*'''[[Session_Rule_List_with_Parameters#Simultaneous List Rule|Simultaneous List Rule]]'''. Executes all Child Rules simultaneously.
*'''[[Session_Rule_List_with_Parameters#Simultaneous List Rule|Simultaneous List Rule]]'''. Executes '''all''' Child Rules '''simultaneously'''.</td>
</tr>
</table>
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="bottom"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>&nbsp;</td>
<td width=75>&nbsp;</td>
<td width=75>&nbsp;</td>
</tr>
</table> <!-- END Nav Buttons Table -->
----
----
----
----
<br>
='''Trainz Wiki'''=
='''Trainz Wiki'''=
<table width=1000>
<tr valign="top">
<td>
<table width=500 cellpadding=2 bgcolor=#ffffff>
<tr valign="top">
<td width=80>[[image:TrainzWiki.png|link=]]</td>
<td>
<span style="font-size: 17px;">'''More Tutorials and Guides to Using Trainz'''</span><br>
*'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
*'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
*'''[[Driver Commands List]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
<br>
</td>
<font size="3">'''Route Creation Tutorials:'''</font>
</tr>
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
</table>
*'''[[How to Use Bulk Asset Update/Replace Tool]]'''
</td>
*'''[[How to Use Layers]]'''
<td>
</div>
<table width=500 cellpadding=4 bgcolor="aquamarine">
<br>
<tr valign="top">
<font size="3">'''Session Creation Tutorials:'''</font>
<td width=50>[[image:LinkWiki.PNG|link=]]</td>
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
<td>
*'''[[How to Create a HTML Asset|How to Create a HTML Asset (Session Introduction Page and In Game Messages)]]'''
<span style="font-size: 17px;">'''Related Links'''</span><br>
*'''[[How to Control Junctions in Sessions]]'''
*'''[[How to Use Parent and Child Rules|How to Use Parent and Child Rules]]'''
*'''[[How to Control Signals in Sessions]]'''
</td>
*'''[[How to Use Message Popup Rule]]
</tr>
*'''[[How to Use Message Popup Rule (Applications)]]
</table>
*'''[[How to Use Navigation Point Rules]]'''
</td>
*'''[[How to Use Navigation Point Rules (Applications)]]'''
</tr>
*'''[[How to Use Navigation Point Rules]]'''
</table>
*'''[[How to Use Parent and Child Rules]]'''
----
*'''[[How to Use Track Triggers]]'''
This page was created by Trainz user '''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/User:Pware pware]</span>''' in May 2018 and was last updated as shown below.
*'''[[How to Use Variables in Sessions (Examples)]]'''
----
</div>
[[Category:How-to guides]][[Category:Rules]]
 
[[Category:How-to guides]]

Latest revision as of 12:46, 5 July 2026

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The information in this Wiki Page identifies some of the main Parent rules available in the Session Editor for TANE, TRS19, TRS22 and Trainz Plus.


Parent Rules are session rules that can have one or more sub-rules or Child Rules indented under them
Parent Rules are the "decision makers" in interactive Sessions, they decide when and how the Child Rule will be executed
Only certain rules can be Parent Rules


        Bottom

Parent Rules that Apply a Logic Test Before Executing Child Rules

Rules List:


Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules

Rules List:


  Top      


Trainz Wiki

More Tutorials and Guides to Using Trainz

Related Links


This page was created by Trainz user pware in May 2018 and was last updated as shown below.