I was just helping out a Redditor creating a piston. He was using “capture attributes” to save the state of a light before changing it then “restore attributes” afterwards. He was having some odd behavior with it. I’ve never used the capture/restore functions, have always used variables to save states and restore them and as such, that is what I suggested. But this capture attributes seems to be a pretty convienient function if it does what it sounds like its supposed to do.
Here is a link to his piston, https://imgur.com/a/dLu7x he was reporting that
" It will flash red/green and then revert to a random color. If it does work properly, it seems to cycle through a random color, then cycle to the previous state."
Any ideas what’s happening? Why it isn’t working?