Couldn't really describe what I wanted in the title so let me explain in detail.
I have an object and it has around 100 frames each frame its a different character. Now what I wanna do is that let's say that when object.frame1 is active set instance value to x but I don't know how to do it whithout repeating the same code line 100 times.
I know that I have to use for and arrays but they confuse me and I can't find a tutorial about them.