- Notifications
You must be signed in to change notification settings - Fork16
-
It seems if you have a list of event desciptors e.g. and you define a content trigger they both get converted into a single trigger instead of one trigger for each event name. Is there a workaround by predefining the content triggers? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 6 comments
-
Hi, when all triggers have the same params, they will be treated as single If you need separate triggers with the same event name, modify anything in params, for example set Max to 1, 2, 3 or change appearance |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks for the answer! In my case the triggers were different like key1Pressed, key2PPressed, etc. Is there a solution for that as well? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Share some screenshots, what you have at the moment and what do you want to achieve |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Ideally the left and right should create the same triggers. IMO a combined trigger does not make sence since events are processed in a event queue so I assume there is no way that all 3 could get triggered simultaneously. Even better would be that you could write key$Pressed and set min=1 and max=3 and it would be translated to the correct scxml statment |
BetaWas this translation helpful?Give feedback.
All reactions
-
We have special element calledTrigger for handling such things machine_props.mp4P.S. But I would like also to show how I use such things in Scxml machine_props_2.mp4 |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Thanks a lot for the detailed explanation. I like that you can globally define triggers that is very useful. I admit your way of doing it is much more elegant!!! |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
This discussion was converted from issue#86 on September 06, 2023 09:08.




