Forum Discussion
"if-else" doesn't work with motion paths
Hi Joe, thanks a lot for taking a look at this!
I'm not sure I'm with you. You're saying that the trigger doesn't get set off at all, unless the condition is met? I may not be following what you're saying. That's not how I understood the "If-Else" logic.
As I understand it, when the user clicks on the object the oval moves down if ovalposition = up. If ovalposition doesn't equal up, then the oval should move up. This is how the triggers work in other cases that don't use motion paths. For an example take a look at the second slide of the story file I attached below. The states change based on the variable.
I did go back and do more testing though, and I found that everything works as I expected, but only when the user isn't clicking on the object that's moving. Take a look at the first slide in the attached story file to see what I'm talking about.
For some reason the "else" part of the trigger doesn't activate motion paths when the object being clicked on is the object to be moved. The file I attached here should be a clearer example than the one I started with.
This seems like a bug in storyline. Do you or does anyone have any other insight?
- JoseTansengco2 years agoStaff
Hello Amos,
I understand the points that you've raised, and I agree that they are valid. I opened a support case on your behalf so we can have our support engineers take a closer look at the logic behind the else condition in the triggers. They'll be reaching out to you shortly with their findings!