Forum Discussion
Triggers "when state of ... is ..." not working as expected
Hi Leslie,
I am referring to states as a trigger. I attached a file showing the issue.
I have 4 buttons as a set and a shape which is hidden and set the trigger as follows:
(i have the egrman version, so translation might be incorrect)
If state of all "button 1,2,3,4" is not "normal"
then: change state of "shape "to "normal"
So, if I click all 4 buttons, the should all have the state "visited" or "active" which means the hidden shape should appear. But it does not - the shape never appears.
If I set it to:
If state of none "button 1,2,3,4" is "normal"
then: change state of "shape "to "normal"
The shape appears as soon as I clicked the first button.
If I set the trigger to:
If state of at least one "button 1,2,3,4" is not "normal"
then: change state of "shape "to "normal"
I expect the shape to appear as soon as i clicked the first button. Even when i clicked all the buttons, the shape does not appear.
I then set the default state to a custom state, since i read that "normal" sometimes leads to unexpected result.
If state of none "button 1,2,3,4" is "start"
then: change state of "shape "to "normal"
the shape shows from the very beginning. Althought allof the buttons are "start"
If I set it to:
If state of all "button 1,2,3,4" is not "start"
then: change state of "shape "to "normal"
the shape will not appear, even if all buttons are visited/active.