It would make sense to rename scene.turn_on
to scene.activate
because using the turn_on term suggests thats it’s possible to turn it of.
You can turn it off. If there is a long delay in it, turning it off aborts the delay and ends the script. The on state of the script indicates it is running, so that makes sense.
But I must admit, turning a script on/off is not very intuitive.
He was referring to scenes (which are stateless), not scripts
Ah, I stand corrected. Not the first time I make that mistake too. I thought they worked the same though,did not know they are stateless. Don’t use them anymore, other than the ones created on the fly.