Forum Discussion

TahaDakka-7cf21's avatar
TahaDakka-7cf21
Community Member
9 months ago

Storyline 360 : Affectation value to variable


I have several values to assign to the same variable depending on the condition, when I change the value, the variable keeps the first value made (I have several buttons with different values and I have a text box that contains a variable, when the user clicks a button the trigger changes just on the first try.)

  • A variable keeps its value until a trigger adjusts it to a new value.

    You said the value of your variable isn't changing after the first time. That sounds like something is preventing the subsequent triggers from running. 

    For this sort of problem, it's virtually impossible to troubleshoot without seeing the file.

    Here are the best practices for uploading a .story file:

    • Only include slides that are involved in the problem.
    • Be sure all objects, layers, motion paths, and variables have meaningful names.
    • If there is proprietary content, replace or delete it. For example, replace proprietary text with ipsum lorem text.
    • Be sure to clearly describe the following in the file and/or in the question posted in the discussion (if you haven't already done so):
      • What you want to happen
      • What is not happening that should happen
      • What is happening that shouldn’t happen
      • What you have tried
  • Hi Taha!

    As Judy shared, it would be easier to troubleshoot the issue if we had a closer look at the .story file you've been working with. If you'd rather not upload it here in the discussion, feel free to share it privately through a support case.

    We'll delete it from our system as soon as we're finished!