Is there a way in Lua to find out what actions exist?
I've managed to set actions, blend actions etc. But I just can't seem to find a way to get the names of all created actions.
Get list of all actions?
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 370
- Joined: Wed Aug 04, 2004 6:23 pm
- Location: Los Angeles
- Contact:
Re: Get list of all actions?
actions and blend morph i am now work am i plan to try and animate using only one layer with actions, blend actions so i'll love to know too and how they workponysmasher wrote:Is there a way in Lua to find out what actions exist?
I've managed to set actions, blend actions etc. But I just can't seem to find a way to get the names of all created actions.
PERSON SHOULD GIVE THERE COMMENT ON OTHER PERSON POST BECAUSE IS THATS WHAT ENCOURAGE ME TO KEEP TRYING THAT IS WHY THIS FORUM IS SO DEAD AND BORING. you cant learn if you are not having fun..





- Víctor Paredes
- Site Admin
- Posts: 5826
- Joined: Tue Jan 25, 2005 3:18 pm
- Location: Barcelona/Chile
- Contact:
uhm, Ponymasher, maybe you should ask to Rudiger, he is an expert scripter and have worked on very complex scripts using actions.






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Sorry, but I don't know any way of getting the list of actions for a layer (at least according to the 6.1 API that Mike posted). I actually requested this feature from Mike a few weeks before AS7 came out, so I doubt it made it in, but you could check the automatically generated API from within AS, just in case. You can check whether an action exists or not, so there's always the exhaustive option of checking every Action name possible, if you've got a few spare millenia, but I wouldn't recommend itselgin wrote:uhm, Ponymasher, maybe you should ask to Rudiger, he is an expert scripter and have worked on very complex scripts using actions.

Perhaps you could use the old trick of parsing the source anme file for the info. For my morph dials scripts, I get my list of actions from the names of the bones, so I've never had to resort to doing this.
-
- Posts: 370
- Joined: Wed Aug 04, 2004 6:23 pm
- Location: Los Angeles
- Contact: