Parent Rule List
From TrainzOnline
(Difference between revisions)
m (→Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules: converted rule names to links) |
m (→Parent Rules that Apply a Logic Test Before Executing Child Rules) |
||
Line 18: | Line 18: | ||
*'''[[Session_Rule_List_with_Parameters#Safety System Isolated Check Rule|Safety System Isolated Check Rule]]'''. Executes Child Rules when the safety system has been isolated. | *'''[[Session_Rule_List_with_Parameters#Safety System Isolated Check Rule|Safety System Isolated Check Rule]]'''. Executes Child Rules when the safety system has been isolated. | ||
*'''[[Session_Rule_List_with_Parameters#Session Debug Rule|Session Debug Rule]]'''. Executes the first Child Rule if the user selects ''Debug Mode'' otherwise executes the second Child Rule. | *'''[[Session_Rule_List_with_Parameters#Session Debug Rule|Session Debug Rule]]'''. Executes the first Child Rule if the user selects ''Debug Mode'' otherwise executes the second Child Rule. | ||
− | *'''[[Session_Rule_List_with_Parameters#Signal Passed | + | *'''[[Session_Rule_List_with_Parameters#Signal Passed At_Danger Check Rule|Signal Passed at Danger Check Rule]]'''. Executes Child Rules when a consist passes a signal set to Stop. |
*'''[[Session_Rule_List_with_Parameters#Speeding Check Rule|Speeding Check Rule]]'''. Executes Child Rules when a consist exceeds a set speed. | *'''[[Session_Rule_List_with_Parameters#Speeding Check Rule|Speeding Check Rule]]'''. Executes Child Rules when a consist exceeds a set speed. | ||
*'''[[Session_Rule_List_with_Parameters#Station Visited Check Rule|Station Visited Check Rule]]'''. Executes Child Rules when specified consists stop at specific stations or industries. | *'''[[Session_Rule_List_with_Parameters#Station Visited Check Rule|Station Visited Check Rule]]'''. Executes Child Rules when specified consists stop at specific stations or industries. |
Revision as of 23:47, 1 June 2018
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.
Parent Rules that Apply a Logic Test Before Executing Child Rules
- Achievement Check Rule. Executes Child Rules when set achievement levels have been reached.
- Consist Check Rule. Executes Child Rules when a consist contains specific vehicles or vehicle types.
- Control Check Rule. Executes Child Rules when the driver control method has changed or a specific control method has been set.
- Coupler Breakage Rule. Executes Child Rules when a coupler has been broken.
- Directional Trigger Check Rule. Executes Child Rules when activated by a train moving in a set direction.
- Driver Command Check Rule. Executes Child Rules when the driver commands match a predefined list.
- Multiple Junction Alignment Check Rule. Executes Child Rules when specified junctions have been set.
- Multiple Resource Check Rule. Executes Child Rules when specified vehicles or industries have reached set commodity (product) levels.
- Navigation Set Check Rule. Executes Child Rules when a navigation set is complete or incomplete.
- Objective Check Rule. Executes Child Rules when set session objectives have been achieved (or not achieved).
- Resource Check Rule. Executes Child Rules when a specified vehicle or industry has reached set commodity (product) levels.
- Resource Verify Rule. Executes Child Rules when a specified vehicle or industry has reached set commodity (product) levels.
- Safety System Engaged Check Rule. Executes Child Rules when the safety system has been engaged.
- Safety System Isolated Check Rule. Executes Child Rules when the safety system has been isolated.
- Session Debug Rule. Executes the first Child Rule if the user selects Debug Mode otherwise executes the second Child Rule.
- Signal Passed at Danger Check Rule. Executes Child Rules when a consist passes a signal set to Stop.
- Speeding Check Rule. Executes Child Rules when a consist exceeds a set speed.
- Station Visited Check Rule. Executes Child Rules when specified consists stop at specific stations or industries.
- Time Check Rule. Executes Child Rules at a specific Trainz clock time.
- Trackside Check Rule. Executes Child Rules when a consist enters the range of a specific trigger.
- Trigger Check Rule. Executes Child Rules when a consist enters the range of a specific trigger.
- Variable Check Rule. Executes Child Rules when a variable passes a specific logic test.
- Wait for Camera View Mode Rule. Executes Child Rules when the camera is changed to a set view.
- Wait for Click on HUD Icon Rule. Executes Child Rules when a specific HUD icon is clicked.
- Wait for Derailment Rule. Executes Child Rules when a consist is derailed.
- Wait for Driver On/Off Train Rule. Executes Child Rules when a driver gets on or off a train.
- Wait for Driver/Train to be Locally Owned Rule. Executes child rules when a specific driver or vehicle is locally owned.
- Wait on Navigation Point Rule. Executes child rules when a specific navigation point is completed.
- Wait on Train Stop/Start Rule. Executes child rules when a train stops or starts moving.
- Wait on Waybill Screen/Main Screen Rule. Executes child rules when the Waybill window is opened or closed.
- Wait Rule. Executes child rules after waiting for set number of seconds.
Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules
- Ordered List Rule. Executes all Child Rules individually in sequential order.
- Progressive List Rule. Executes Child Rules progessively each time the list is run.
- Random List Rule. Executes once only and randomly selects one Child Rule to execute.
- Reset List Rule. Executes all Child Rules in order and continuosly.
- Simultaneous List Rule. Executes all Child Rules simultaneously.
Trainz Creation Tutorials:
Related Session Creation Tutorials: