Piston conditions are not flexible enough for curtains


#1

1) Give a description of the problem
Piston works ok, but i cant keep the curtain closed because of the way I have the conditions set up.
2) What is the expected behaviour?
I need a smarter way to do this so I can keep the curtain closed or open if I want it

3) What is happening/not happening?
Conditions are too absolute
4) Post a Green Snapshot of the pistonimage


#2

I think I figured it out, im testing it now. If anyone has any other ideas, please let me know :slight_smile:


#3

You have a nested trigger at line 29. I would pull that IF out from under the FIRST IF and make it a block on its own.


#4

Thanks for that!

So what would that do differently?


#5

Your piston may function as you desire. Personally, I just try to avoid nested triggers to make debugging easier. YMMV.


#6

Ahh ok, got ya :slight_smile: