Triggers & Layers

May 08, 2024

Is it possible to trigger something on a base layer from the status of objects on another layer? 

On the attached slide, I want each of the objects at the top of the base layer to change to a custom "complete" status when each of the objects on one of the layers have been visited. I thought I set it up to do that, and it didn't work. I've now adjusted a few things so it's not the way I originally had it, but I think it should still work and it's not.

Any suggestions?

6 Replies
Walt Hamilton

Yes, it is possible, because the slide and all its layers are considered one slide. The trickiest part is be sure you have an action that will definitely initiate the trigger. “Change state of XYZ to completed when …” is what it would look like.

I’m not where I can look at your file right now, but here are a couple of suggestions. “When state of ALL X, Y, Z can be tricky. There used to be a limit to how many objects you could put in the list and expect it to work. That may or may not have been improved. Also there is slight chance the layer could be closed before the system has checked the state of the objects. Change the state before you hide the layer.

At any rate, if you have a one-to-one correspondence, you have more reliable options. When each object is clicked (I know they are, because clicking is how they go into visited state), use that click to change the state of the object on the base.

Lisa Geggie

This has been a good thread to read... When I trigger it this way, the learner sees the completed state before the layer opens. Is there a way to trigger it so that doesn't happen? I know I have done it before, but the last few times I have done this, the completed state shows and then the layer opens. I would love to know how to fix that!

 

Nedim Ramic

Your trigger to change the state of the Order button on the base layer should have worked. Disabling all triggers except one on the Order# layer, as illustrated in the screenshot below, reveals that the issue does not lie within the states themselves. By isolating triggers, you can identify the specific one causing the problem. This method helps determine whether any trigger or the last trigger is the culprit. Re-enabling all triggers and subsequently disabling the last trigger can help in troubleshooting. Does this resolve the issue?