OK, I'm not 100% sure this is a Vixen issue or me not doing this properly.
I wrote my script for an all off every 30 seconds. Imported channels, did plug in's, the script engine, ect.
F6 to compile, no errors. 🙂
Saved the project and sequence.
Went in moved the .cs file up one level
Choose the background sequence
I go check the box to enable the script and 10 seconds later, the scrolling bar at the bottom left shows up, but only for a second and goes away. 😕
Is this a bug or am I missing a step somewhere?
I will definitely play with that, thank you.
Wayne-
It's because the "Every" modifier wasn't implemented for the On and Off actions. I added that plus a new action you'll need, WaitOnTimers(). This is a blocking operation, so it won't return until all timers are done. In your case, it will never return as you would have it going indefinitely. But the next sequence to execute (manually or scheduled) would force it to stop. Just add a call to WaitOnTimers() at the end and your script execution will hang around so that your 30-second interval timer can keep firing.
So then it should look like this?? or is something supposed to be inside the ().....
void Start() {
Off(All, Every(30).Seconds);
WaitOnTimers();
}
with the lines 'tabbed' of of course, I can't make this post do it.
8) 8) 8) 8)
KC, you da man ❗
I done it as in my above post and it works. Now runs as it should! 😉
Thanks for the feedback. I know it worked here, but we know how that goes...
I get an unterminated statement in Start(). Not sure why.
There was an issue with the script modules that had a like symptom, but has since been resolved.
KC, did you base the scripting language on any language like perl or php or vbscript? CAn it have varibles and is the an on error event handler?
I have done the latest updates.

