Forum Discussion
States Not Switching Properly
I couldn't find much wrong I rebuilt it so it responds every time the variable changes and it works.
see v2
Hi Phil,
thanks for the help and super fast, too! :)
So, you did it with a new layer... I hadn't thought of that. This is going to be a rather intricate game, so I am hoping to avoid layers to make it easier for me to find what's what, but I've tried to emulate what you did with setting the states to hidden when the timeline starts and i just can't get it to work except with the use of layers. Why is that?
And why is it necessary to set the states for the heads and bodies to hidden at the start of the timeline if the default state is already set to hidden? Shouldn't Articulate hide the object if the default state is hidden? It doesn't seem to do that consistently - it does for the heads but not the bodies for some reason.
I have other counters in this game, and those set properly with a trigger for the variable change which happens when the timeline starts (not in the test i uploaded, i took them out for simplicity). The only one that's not doing it properly is this one but i can't figure out what the issue is.
- PhilMayor3 years agoSuper Hero
I put it on a layer as if I am building games it allows me to reduce the triggers on the base layer and use the layer as a way to call functions.
I set them to hidden initially with triggers as each time the variable changes it recalculates I didn’t know if your number would go up or down.
You could add to the base layer and should add. Your initial setup looked right to me it just didn’t work.
Sent from my iPhone