Hi there!
Object.PlayAnimation("Anim Name")
How can i get the name of animation of the object?
Hi there!
Object.PlayAnimation("Anim Name")
How can i get the name of animation of the object?
I'd like to know this myself. It's not under Anim Events in the Idle Animations, that's something different.
I know offhand that "Open" is for activators like doors, while "SnapClosed" is for Nordic Sarcaphocus tops and "OpenStart" is what makes them pop off.
It's all in the behavior files for the object. Basically, you need to convert the behavior files for the object to xml using http://skyrim.nexusmods.com/mods/1797/?, then you need to find the 'hkbStateTransitionInfoArray' object which contains information such as the event you need to send to an object to stimulate a state transition which usually results in the object playing an animation. But it's actually way more complicated than that for objects with a large number of states and nested behaviors.
However if you want to find all the animation events they are all contained in the Havok class 'hkbBehaviorGraphStringData' which is at the top of the files but some of those events are listening events (to be registered for with RegisterForAnimationEvent()) and others are trigger events (these are the events you want). You need to be able to understand the behavior files to tell the difference between them but if there aren't to many you can just use trial and error to find the right ones.
By the way, I will be releasing a tool that will make these files MUCH easier to understand in a few days so keep an eye out, it will be very helpful for things like this. Also, fores http://www.gamesas.com/topic/1445372-relz-condensebehavior-v10/?hl=%2Bcondense tool is great for finding these events, that is what I was using to find the events I was looking for.