User Tools

Site Tools


timed-actions-en
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


timed-actions-en [2018/11/12 08:56] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Actions ======
 +[[:english#objects|{{  :objects.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
  
 +[[:english|Content]] -> [[:english#objects|Objects]] ->   **Actions**
 +  * [[actions-en|Action Setup]] | [[:actionctrl-en|Action Control]] | [[:actionctrl-en#system-actions|System Actions]] | [[:actioncond-en|Action Condition]] | [[action-example-en|Example]] | [[level-crossing-en|Example 2 Rail/Road Level Crossing]]
 +
 +{{  :actions:actions.jpg}}\\
 +
 +
 +===== Definition =====
 +| :!: Actions are not for take over the build in automatic mode. All traffic should be work without actions before defining any. | \\
 + \\
 +Actions are used to switch loco functions and much more.\\
 +Actions are triggered by events or by time.\\
 +\\
 +
 +With actions there are many possibilities in automatic layout control, for example:
 +  * playing a sound file at an exactly specified moment, e.g. church bells\\
 +  * switching street / house lights on / off according to rocrail clock\\
 +  * when a specified train arrives in station, starts a fitted announcement\\
 +  * when a steam engine arrives in depot, the coal crane starts moving
 +  * when a button is pushed, a schedule starts or a announcement is played back, a route is set or a train starts\\ 
 +  * at a specified location specified trains switch an output\\
 +  * speed restiction section only for specified locos\\
 +  * etc ...  \\
 +\\
 +To setup an action up to three steps needed:\\
 +  - Which actions should happen? Setup this in [[actions-en|Action Setup]]
 +  - What triggers the action?
 +    - If an object triggers the action, this is configurated in [[actionctrl-en|Action Control]]\\
 +    - Triggering by clock is configurated in [[actions-en|Action Setup]]
 +  - Which conditions prevent / provoke an action are configurated in [[actioncond-en|Action Condition]]\\
 +
 +\\
 +Except from clock triggered actions, after setting up an action nothing happens. After state of an object has changed, it's action controller calls every action, if the according conditions are matching.
timed-actions-en.txt · Last modified: 2018/11/12 08:56 by 127.0.0.1