eternalphoenix64
Member
Fairly new to using this software. Working on making some changes with a trend client for better UI. I'm currently working on a setup where I have 2 condition scripts. Sometimes the operators only need to execute the first one (we'll call it CON_A). Sometimes they need to execute the second one (we'll call it CON_B). Originally, the process would be that 1 button would execute CON_A, then a second button would execute CON_B. I'm trying to consolidate this to 1 button. The problem is that CON_B is dependent on the execution of CON_A, even though CON_B is the same code as CON_A with a couple extra lines at the end. Problem is, I can't just eliminate CON_A because then CON_B doesn't work. Easy solution is to just make CON_A true in the first line of CON_B script, but part of the functionality isn't working, which leads me to believe that CON_A doesn't complete in its entirety. I can get the function to work, as long as I execute CON_B twice, or CON_A seperate followed by CON_B.
I'm hoping that someone knows of some sort of "wait()" function, if it even exists, where I can halt CON_B for maybe 10-30ms in the second line (right after calling CON_A) so that CON_A can finish executing.
Both only contain code for "On True", do some work with recipes, and both set themselves to 0 at the end. Hopefully that's enough info for people to help me. TIA
I'm hoping that someone knows of some sort of "wait()" function, if it even exists, where I can halt CON_B for maybe 10-30ms in the second line (right after calling CON_A) so that CON_A can finish executing.
Both only contain code for "On True", do some work with recipes, and both set themselves to 0 at the end. Hopefully that's enough info for people to help me. TIA