Object state change when 4 variables each equal 1

Hi

On one slide I have 4 variables (each defaulted to 0). When each variable is equal to 1, there should be a change of state to an (shape) object. The variables work, according to the variable references, but the object doesn't change state (from Normal to Selected).

The Trigger is
Action: Change state of
On Object: Stop Work 1
To State: Selected
When: Timeline starts
Object: Stop Work 1
On Condition:
Variable 1 = = Equal to 1.00
AND Variable 2 == Equal to 1.00
AND Variable 3 == Equal to 1.00
AND Variable 4 == Equal to 1.00

What am I missing?
Thanks

 

 

Object 

What am I missing?

 

5 Replies
Matthew Bibby

Your trigger is running when the timeline starts, which means it'll only check these variable values when the timeline starts.

Instead, you need four triggers. One that watches when Variable 1 changes and checks if it and the other variables are equal to 1. Two when Variable 2 changes etc. 

Mark Jennings

Thanks Matthew 

So, I need a Trigger foir Variable 1:

Action: Change state of 
On Object: Stop Work 1
To State: Selected
When: Variable changes
Variable: Variable 1
On Condition:
Variable 1 = = Equal to 1.00
AND Variable 2 == Equal to 1.00
AND Variable 3 == Equal to 1.00
AND Variable 4 == Equal to 1.00

and then repeat for the Triggers for Variable 2, 3 and 4?

Is that right?