turbobonus-5
Member
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
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