ID:159793
 
Is there a way to get the duration of a specific icon_state? Like, I want to add an object to a players overlays, but I only want it to cycle through once and then I want to get rid of it, but I don't want it to hang on the end state, or repeat itself.
DivineTraveller wrote:
I only want it to cycle through once and then I want to get rid of it, but I don't want it to hang on the end state, or repeat itself.

So, kind of flick, just for an overlay and not for the complete icon?
If flick() doesn't work for you, you can add the duration of the icon_state to the icon_state name and then pick it up with findtext(). Just a thought.
In response to Schnitzelnagler
Schnitzelnagler wrote:
DivineTraveller wrote:
I only want it to cycle through once and then I want to get rid of it, but I don't want it to hang on the end state, or repeat itself.

So, kind of flick, just for an overlay and not for the complete icon?

I noticed this a bit late, for whatever reason my spinny red orb of doom on the menu bar didn't remind me! But yes, exactly like that.

@Andre, that's still a hassle for me to do, because I still have to change all the icon_states.