Jump to content
Zum Start hinzufügen

Weitere Informationen

3D-Modellbahn Studio

Eine Vollbild-App auf Ihrem Startbildschirm mit Push-Benachrichtigungen und mehr.

So installieren Sie diese App auf iOS und iPadOS
  1. Tippen Sie auf das Teilen-Symbol in Safari
  2. Scrollen Sie durch das Menü und tippen Sie auf Zum Startbildschirm hinzufügen.
  3. Tippen Sie oben rechts auf Hinzufügen.
So installieren Sie diese App auf Android
  1. Tippen Sie auf das 3-Punkte-Menü (⋮) in der oberen rechten Ecke des Browsers.
  2. Tippen Sie auf Zum Startbildschirm hinzufügen oder App installieren.
  3. Bestätigen Sie durch Tippen auf Installieren.

Empfohlene Beiträge

Geschrieben

Hello,

Am I right when I say that the "Action if not met" refers only to the conditions of the Event and NOT to the evaluation for the triggering of the Event?

Example : Variable A = 9

Train enters a track - vehicule : any - track : track1
Conditions : none
Action when met : set variable A = 1
Action when not met : set variable A = 0

             In the event above, the variable A will never be 0 because the Event will only be triggered when the train effectively enters the track track1.  Is this correct?

Train enters a track - vehicule : any - track : $_Trigger2._Name
Conditions : none
Action when met : set variable A = 1
Action when not met : set variable A = +1

           What will be the value for the variable A?

Train enters a track - vehicule : any - track : $_Trigger2._Name
Conditions : Loco is residing on track track1
Action when met : set variable A = 1
Action when not met : set variable A = +1

           What will be the value for the variable A?

and finally

Train enters a track - vehicule : any - track : Empty
Conditions : none
Action when met : set variable A = 1
Action when not met : set variable A = +1

           What will be the value for the variable A?

 

Thank you in advance

André

Geschrieben

Hello André,

"Action when not met" will be only evaluated if you have explicitly specified at least one condition. With "Conditions: none" the "Action(s) when not met" will be never executed.

Following this rule, your questions 1, 2 and 4 will all result in A = 1.

Within question 3, the condition has to be understood as "Any arbitrary vehicle is residing on track track1".
When the train enters any track (needs not to be track1), the condition is true, if any vehicle (needs not to be part of the considered train) resides on track1.

Then, A = 1.
If the condition is not true, A = 10 (because it was previously 9).

The fact, that the train enters a track, will not be understood as a condition! This is an event!

Many greetings
BahnLand
 

Geschrieben
  • Autor

Thank you BahnLand

This was what I expected as result.

Regards

André

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Push-Benachrichtigungen konfigurieren

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.