Parent Rule List

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Created Wiki page. Work still in progress)
 
m (added Trainz Wiki Links)
Line 41: Line 41:
 
*'''Reset List Rule'''. Executes all Child Rules in order and continuosly.
 
*'''Reset List Rule'''. Executes all Child Rules in order and continuosly.
 
*'''Simultaneous List Rule'''. Executes all Child Rules simultaneously.
 
*'''Simultaneous List Rule'''. Executes all Child Rules simultaneously.
 +
 +
==='''Related Trainz Wiki Links:'''===
 +
*'''[[Controlling Junctions in Sessions]]'''
 +
*'''[[Message Popup Rule Applications]]'''
 +
*'''[[Message Popup Example|Message Popup Rule Examples]]'''
 +
*'''[[Navigation Point Applications]]'''
 +
*'''[[Navigation Point Rules Examples]]'''
 +
*'''[[Parent and Child Rules]]'''
 +
*'''[[Using Variables in Sessions - Examples]]'''

Revision as of 14:52, 18 May 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.
  • 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.

Related Trainz Wiki Links:

Personal tools