Hi! One of the features in my game, that of an idle animation, works by changing the character's sprite. The name changes from "Filename" to "Filename[Idle]", However, I have other features that change the sprite, so these will naturally conflict with one another. I could solve this with an unholy amount of conditional branches due to the number of possibilities, or...
A script allowing me to call "Add suffix [Suffix] would allow me to change an event or characters sprite to "'Current Sprite Name'+[Suffix]". For example, "P11_R_[f8][Walk][Rain]" would become "P11_R_[f8][Walk][Rain][Blink]". This would allow for better implementation of differently clothed, rained-on, damaged, and blinking sprites. Preferably, making the order of the [#]s not matter as well would be important. Also, it would be helpful if there would be no difference to the script between "[f8][Walk][Rain][Blink].png" and "[f8][Walk][Blink][Rain].png", if you know what I mean.
Thank you in advance for any help with this odd request.