The only suggestions I've found from Googling were old threads saying that they just tediously go through animations and find it through trial and error.
The issue is that I have a script that affects any unit the player controls, but the player can have several different units in control, so they all have different indices. I'm not going to go through all the animations of every single useable unit to find the right index to use for each one.
Is there really not a way to find an animation by its name? Even the editor shows the Stand 1 animation consistently in the model previewer, and clearly the game itself has a way of finding the name of an animation and playing it.
The issue is that I have a script that affects any unit the player controls, but the player can have several different units in control, so they all have different indices. I'm not going to go through all the animations of every single useable unit to find the right index to use for each one.
Is there really not a way to find an animation by its name? Even the editor shows the Stand 1 animation consistently in the model previewer, and clearly the game itself has a way of finding the name of an animation and playing it.