How do I use a if statement to check if a function is active and set a function to active and inactive?
Hi Kelan, Welcome to the Forums.
I did this Timer Tutorial yesterday. I think that using a ālogicā variable in a similar way will help you with this.
If its a somewhat simple trigger logic you could try using a switch as a āif statementā Iāve used this visual logic successfully before. Set the switch to on when the countdown starts, and off when it ends/stopped and then whatever youāre trying to trigger you can check if the switch is on or off ie. Found this to be very simple and no need for a verse device for such a simple logic
This is a great tutorial and I was able to get what information I needed. The solution I found was āvar VaribleName : logic = trueā and then using āset VaribleName = falseā or āset VaribleName = trueā throughout my code and using if statements to check if it was true āif (VaribleName?):ā Thank you
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.