So I have two groups that basically start when the last one finishes. I would like for part of this process to go to the next animation in a sprite everytime the next group is active. Here is an idea:
Say their are 100 animations; Animation1, Animation2, Animation3, etc...
When the next group activates it would go from Animation1 to Animation2 and so forth.
Remember, their are only two groups so I cannot call each animation by name.
For everytime the next event triggered, the pseudocode I was thinking of went like this:
Global Variable: "BossNum = 1"
Set variable: BossNum = BossNum +1
Set animation to "Animation+BossNum"
In conclusion, is there another way to load the next animation without calling it by name,
OR
can the animations name be manipulated by a variable as listed in the pseudocode?