Multiple Variable Help
Apr 29, 2014
By
Cary Glenn
Hi,
I'm working on a complicated interaction to help people learn how to set up a trailer. The trailer has a series of hydraulic valves that can be turned on or off. Adjusting the wrong valves can lead to dangerous situations. I've set up the variables and the triggers to adjust them. The issue I'm having is that when I test it out the wrong layer is shown. Anybody want to take a look and see what I've done wrong? I've been struggling with this one for awhile.
9 Replies
You've got a lot going on there. You migth try to simplfy it using states.
For each valve, create a normal state as it is to start. Then create the opposite state, either I think open or closed) Have the state change to open if it was closed when the user clicks or have it change to closed if it was open
.
then your layers can display if valves 3, 4, and 5 are in an open state and valves 1, 2 6, 7, and 8 are in a closed state. It amkes it a little easier to troubleshoot using states and triggers
I tried using states at first but I was having trouble getting that to work. I might try that angle again.
If I use states I'm not sure how I will handle the situation where someone doesn't choose one of the main set up ups. For example if they only select one valve the submit button would not work, I can't come up with every possible variation.
Cary, I was intrigued by your .story because I'm an engineer, but haven't had the time to look at the file closely.
Have you sorted this problem?
By "Doesn't show the right layer" what exactly do you mean? I might be able to have a look on the weekend (probably too late for you sorry).
I would like to play around with it, too, but I am having trouble determining what you want to happen under which conditions. If we could get a chart or something that describes which layers you want to display when, it would help with the troubleshooting.
I was off for a couple of days. My oldest was graduating from college. I'm back in the office on Monday. I'll share the updated version and an an image of what should happen.
Here is what I have now.
The red circles are the valves that should be switched so the 3 point back pull should show.
This should show 3 point with a front pull
This would show one of the 2 point layers.
And this the other 2 point layer.
I've been here is the latest version of the issue.
It appears that your diagrams for 3 point front and back are the same. The triggers you have are primarily on the vertical valves and for the back pull the valves to click are Verticle valves 4, 7, 16, 18, and 19. This is the same as the Front pull. You also have conditions on the 3 Point back pull that you may not need since they are part of the variable adjustment trigger already.
Let me try this again.
I've deleted many of the triggers for now, to simplify the problem.
What is happening now is that when I select the valves that should trigger the 3-point front pull layer the 4-point layer appears. The 3-point back pull works correctly as does the 4-point trigger.
3-point front pull
3-point back pull
4-point
This discussion is closed. You can start a new discussion or contact Articulate Support.