name badge picture not updating

Jan 10, 2019

Hi.

I'm working on the husk of an activity right now where the user will go through different rounds and take notes.  I want to personalise it so I am making a name badge with a photo. I have set up my variables but in preview I can see that name badge photo is not updating in relation to what they select. 

I am having a few other problems with the next button on scene 1, slide 2 too so if anyone has advice, it would be appreciated.

 

Thanks

 

Iffaf

5 Replies
Ryan Sanga

Hi Iffaf,

You can use the 'Timeline Starts' on the value of 'When' in the Trigger Wizard.

I have also checked Slide 2 on Scene 1 and made some minor changes. Could you please elaborate on what problems you encounter or what behavior/s you expect for the Next Button. I would be happy to assist you.

Attached is the modified version of your .story file

Cheers!

Iffaf Khan

Thank you so much, Ryan.

 

If it is at all possible can you re-save and re-attach as Storyline 2. which is what I made it with.  We have a perpetual license with 2 so. even although I use Storyline 360, I prefer to make my main content in Storyline 2.

With the next button, I didn't want them to be able to go next until they had entered both their name and ID.  I had set it to disabled until both are done, after which it should be 'normal' but it wasn't doing anything.

 

All the best

Iffaf

Ryan Sanga

Hi Iffaf,

I have attached the .story file for Storyline 2 with changes to the button as well, hopefully it works on your machine *fingers crossed*.

As for the button, you can set the initial state of the Button to 'Disable' by selecting the button then going to the 'States' tab on the Timeline.

Please let me know how it goes. Cheers!

Ryan Sanga

Hi Iffaf,

Nice catch! I didn't notice that before. To explain it simply, it has something to do with how the logic executes,  it has to meet the conditions in a linear manner.

If we are to follow the logic of the trigger below;

Trigger 1:
The Object Next button will Change State to Normal when the Value of the the Variable avatar Changes, in others words, from empty to NOT empty.

But before the trigger is executed, a condition must be met:

Condition of Trigger 1:
avatar is NOT empty AND participantname is NOT empty

 

Scenario 1: (the issue)
By clicking on a photo first, the Value of avatar Changes, but  the Value of participantname is still empty. The Condition of Trigger 1 was not met, because participantname is still empty when the Value of Variable avatar was Changed.

Rundown:
Initial Values: 
avatar value is empty, participantname value is empty

  1. Click a Photo = avatar value is NOT empty, participantname value is empty.
  2. Value of avatar Changes > Trigger 1 was triggered.
  3. Before Trigger 1 executes, Condition of Trigger 1 must be TRUE
  4. Check if Condition of Trigger 1 is TRUE.
    avatar is NOT empty (TRUE) AND participantname is NOT empty (FALSE)
    TRUE AND FALSE == FALSE
  5. Condition of Trigger 1 is FALSE.
  6. Trigger 1 didn't meet condition therefore will NOT EXECUTE.

 

Scenario 2:
Inputting a name first Changes the Value of participantname to NOT empty. So when we click on a photo and Changing the Value of avatar to NOT empty, the Condition of Trigger 1 which were: avatar is NOT empty AND participantname is NOT empty

were met and in turn Changing the State of the Next button to Normal.

Rundown:
Initial Values: avatar value is empty, participantname value is empty

  1. Input name = avatar value is empty, participantname value is NOT empty.
  2. Value of avatar NOTchanged, therefore Trigger 1 not triggered.
  3. Click a Photo = avatar value NOT empty, participantname value NOT empty.
  4. Value of avatar Changes > Trigger 1 was triggered.
  5. Before Trigger 1 executes, Condition of Trigger 1 must be TRUE
  6. Check if Condition of Trigger 1 is TRUE.
    avatar is NOT empty (TRUE) AND participantname is NOT empty (TRUE)
    TRUE AND TRUE== TRUE
  7. Condition of Trigger 1 is TRUE.
  8. Trigger 1 meet condition therefore will EXECUTE.

Trigger Wizard:

 

To solve this, we need to create another Trigger that will catch the Change of State of the Variable participantname that mirrors Trigger 1. Please see the setup below.

Hope I managed to explain it clearly. For more clarifications, just feel free to let me know. Hope this helps!

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