Forum Discussion

BenjaminSteiner's avatar
BenjaminSteiner
Community Member
5 years ago

Creating variables and triggers that modify objects on a different slide

Hello fellow e-learning creators,

Question for you all: I want to create an Articulate project where a user can make a selection on one slide that will effect other slides in the project. To ground this in an example, I want to have a "Select your Avatar" slide at the beginning, where a user will select the e-learning avatar that follows them throughout the course.

I know it would be possible to creating different scenes  with the different avatars, but this would require a  lot of redundant scenes and make the file impractically large.

What I'm imagining is something like "change state of Character 1 to Character 2 IF the user selects Character 2 on slide x."

Is there any feature that can accomplish this?

2 Replies

  • Hi Benjamin,

    I include this same functionality in most of my projects.  I use radio buttons on the first slide, but you could accomplish the same thing by clicking an avatar. I then change the state of the character on each slide using true/false variables based on the selection.

    Hope this helps!

    Chris

  • JoeFrancis's avatar
    JoeFrancis
    Community Member

    You're almost there. On the slide where the learner initially selects the avatar, set a variable (e.g., varAvatar = 1) when that avatar is selected.

    On each slide where the avatar appears, create an image object (titled it imgAvatar) with several states, each corresponding in name to the available avatar images. I would name them to align with the varAvatar variable values (1,2,3, etc.).

    Now, when the learner enters the slide, us a trigger like this:

    Change state of
    imgAvatar
    to 1

    When the timeline starts on
    this slide

    If varAvatar = value 1

    Do this for each version of avatar. So if you have 4 avatars, you'll need 4 triggers.