Variable assistance

Mar 03, 2016

Hi all

I'm having difficulty with a variable to change the state of a shape that has been clicked on in another layer on the same slide.

The variable is True/False set to a default of False.

The trigger on the base layer is to change the state to X when the timeline starts on that layer if the variable is true. However, when I click on the shape on the 1st or 2nd layer and go back to the base layer, the state hasn't change yet the variable count has changed so the variable is working.

pls help!

8 Replies
Leslie McKerchie

Hi Linda!

I'm not seeing where you are adjusting the variable to True?

Your variable "Complete" only has the following attached to it:

• Used by a slide trigger condition on "1.1 Start" in "1 Untitled Scene"

Trigger Text: "Change state of TEXT2 - "TEXT 2" to Test When the timeline starts If Complete is equal to True "

Where should the variable be adjusted to prompt this state change?

Linda Liebenberg

The variable needs to change to true once the shape TEXT 2 has been clicked on.

At the moment the user is restricted to when they can click on the different shapes, I have to force the user to go through each layer. But once the user has been to that layer and returns to the base layer, that restriction is applicable again. I am trying to avoid that, hence my trying to use the variable. Is there perhaps an easier way? 

Walt Hamilton

That is one way to solve it,  but your thinking is not so far off.

Because the layers are part of the slide, they have access to everything on the base layer. You can change the state of Text2 with an action on layer 2. Use whatever action you intend to use to change "Complete" to True, including "when variable Complete changes."

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