Troubleshooting
Easy math issue for newbie
Started by nizer on .
Sign in or create an account to join the conversation.
Just want to have a number count down by minutes.
Say 90 appears in a field and subtracts 1 from it every minute.
Thanks for any help.
Say 90 appears in a field and subtracts 1 from it every minute.
Thanks for any help.
I've added a working example below. I've added comments to hopefully let you understand what's going on, so you can use the logic in other scripting;)
Counter.jzml
Counter.jzml
Amazing thank you.
I have a couple more tweaks that I can't figure out cuz I'm not a programmer.
Can it turn red when it is below zero, have a minus sign by it and continue to count down?
I assume I can remotely via OSC from QLab send a "time" variable to change the 90 to some other time.
So much appreciate the work you did.
I have a couple more tweaks that I can't figure out cuz I'm not a programmer.
Can it turn red when it is below zero, have a minus sign by it and continue to count down?
I assume I can remotely via OSC from QLab send a "time" variable to change the 90 to some other time.
So much appreciate the work you did.
If you remove the if statement and everything in it, it will get passed zero with a negative.
For the color you can just use a same like if statement but use "setattribute(Object, 'color', ####)'. If you check the lemur user guide I'm sure you can figure it out. Let me know if you succeed.
For the color you can just use a same like if statement but use "setattribute(Object, 'color', ####)'. If you check the lemur user guide I'm sure you can figure it out. Let me know if you succeed.