How can I check the status of an effect using Pangoscript

Hi, I'm trying to work out how to detect if an effect is playing or not so I can take an action based on that.
I have individual scripts that run to flash some of the cells through a sequence of colours, and another script for the same cells when an effect is active, but I need some way of detecting if that selected effect is still selected or not. Something like

if (FX1,1) do x

I've been through the object tree several times but can't find something that obviously corrolates to the state of a given effect
 
This where I think it should be in the object tree

Untitled picture.png

I would expect this to represent FX row 1, Cell 1, but this object is always TRUE, no matter the state of the FX cell - If it's active or not, this object is always TRUE. I've tested this using the following watchdog type script

Code:
codename "watchdog"
if (FX.0.0.0.Enabled=FALSE) DisplayPopup "FALSE"; sleep 3000
if (FX.0.0.0.Enabled) DisplayPopup "TRUE"; sleep 3000
restart

I've also tried the other booleans here and none of them change state either
 
I was curious about this, so I dug in a little deeper.

When you say "I would expect this to represent FX row 1, Cell 1" it's along the right lines, but FX row 1, cell 1 would just be "FX.0.0", the third 0 is actually the index of the effect within the cell, in this case it's the first effect.

"FX.0.0.0.Enabled" has the following template: "FX.{layer index}.{cell index}.{effect index}.Enabled"

So what "FX.0.0.0.Enabled" is really checking for is if the effects in the cell are enabled or disabled, via the little green dot/red circle symbol on the left
fx.png

From what I found, there is currently no way to check if a particular quickfx cell is active or not. I also didn't see a way to see which cell is active for a given layer.

If you really need this feature, the only options I can see are: email pangolin and ask them for it, or create your own fx tracking script with beyond universe or something to track the state. Like you would have to select the fx cells via pangoscript, instead of just clicking on them.

Best of luck!
 
Back
Top