Reading the Data Structure documentation, I'm unable to think of a way to reference some specific animation named
anim1 that belongs to the
current outfit of a character.
for example I was looking for something like the following one (apparently it does not work, but you get the idea):
startAnimation(Characters["chrName"].CharacterCurrentOutfit.Animations["anim1"])
If anim1 was a unique name, I could access it via the Animations[] table - but since there are various animations called anim1, (one for each outfit), how would one go about doing it?
the idea is to have the same name for all the animations in all different outfits, and write functions that do not care about which outfit is currently active.