Zum Inhalt springen
AppgineeringAppgineering
Shop
Schreibgeschützt5 Beiträge · 3,331 Aufrufe · Erstellt 12 Jul 2021, 18:29

Condition to activate a trigger

Archiviert: Diskussion auf Discord verlagertDiscord
Javier Q.Ursprünglicher Verfasser
#1

Hi guys!

I wonder if there is any way to tell a trigger that it fired only when another widget is activated.

I put some examples to see if you can understand me:

View image on imgur.com View image on imgur.com View image on imgur.com

The first image is of my lap counter with no flag thrown. When a flag is thrown, then the trigger is fired and makes it appear (image 2) But sometimes the lap counter is not visible and it is uncomfortable to see how the flag's trigger is launched and remains floating in nothing (image 3)

Can this be somehow solved?

Nick ThissenAppgineering
#3

This is the typical usecase for condition flags. You can do something like this:

  • "Set" a condition flag whenever the main widget becomes visible.
  • "Unset" the same flag when the main widget is hidden.
  • Now you can use this flag as a condition for the action that activates yellow bar thing. It will then only trigger if the flag is "set", e.g. when the widget is visible.
#4

Nick Thissen wrote:
This is the typical usecase for condition flags. You can do something like this:

  • "Set" a condition flag whenever the main widget becomes visible.
  • "Unset" the same flag when the main widget is hidden.
  • Now you can use this flag as a condition for the action that activates yellow bar thing. It will then only trigger if the flag is "set", e.g. when the widget is visible.

I understand what you are telling me, but I really don't know how to put it into practice in the editor

Could you explain me?

Dieser Thread ist archiviert.

Neue Antworten finden auf Discord statt.

Auf Discord weiterlesen