Global Do Actions


#1

1) Give a description of the problem
Is it possible to create a global Do Action?

2) What is the expected behavior?
Similar to Global Variables, Global Do Action would be one reference to apply to multiple pistons

3) What is happening/not happening?
Just a question
**4) Post a Green Snapshot of the piston![image|45x37]


#2

I don’t understand what you mean by “global do action”. An action what would happen every time something else happened? Are you just trying to make it faster to implement an action that you want to happen under multiple conditions? I would say, put them all into one piston. You can either group things together and put multiple triggers and one action or one trigger that has multiple actions. It all comes down to math…if you are going to have a very complex actions with a couple simple triggers, group the triggers. If you have several complex triggers that all have the same action, then put them in separate piston. You can also copy/paste the action from one to the other.


#3

Pretty much yes I’m trying to reuse code in multiple Pistons.


#4

Then your best bet is to copy what you want to use to the clipboard or create a duplicate piston.