Execution of Piston as a trigger


#1

Can you use the execution of one piston as a trigger for another piston?


#2

Yup. Any piston can execute another.

Either by using the External URL(my preference)
or with the command "Execute Piston:.

pic


#3

No I was wondering if I could use the execution of a piston as a trigger for another piston. I don’t want to execute one from within another, though that would be a backup way if there is no way to do this.


#4

The way I look at this:

If a PistonA has been triggered, then any line inside can execute PistonB.
(this would be more efficient than “subscribing” to PistonA anyways)

Analogy for reference:
Asking a friend to call me when they get home… :+1:
… or staring at their driveway all day until they do. :-1:


Pro Tip:

If you place the command at the top of PistonA, (outside of any IF block), then regardless how PistonA runs, it will always execute PistonB.