Change variable based on the value of another variable

May 17, 2016

How do I change the value of a variable based on the value of a different variable.

If varA = True

Then change VarB to True

The initial state of varA=True. varA is static (doesn't change).  The only option appears to be that you can't change varB unless  varA changes.

10 Replies
David McGhee

Thanks, Brett.

So essentially, VarA does have to change in order to use the value of varA  to change the value of VarB.

Correct? If so, There is no way to change the value of varB using the current value of varA.

So in my example; Your solution requires the change of varA at the outset or some other condition as long as varA is changed.

varA = False initially

When timeline starts change varA = True

if varA=True

then change varB to True

Add Attachment

This discussion is closed. You can start a new discussion or contact Articulate Support.