Jump to content
YouGroove

Animation tool feature

Recommended Posts

It would be usefull if we could attach some variable names to the frames we want in the animation editor and have some callback function that would be called each time a variable is encountered.

 

For example in the midle of some attack animation or when a big boss character hits the ground we could attach a variable to that frame named for example "Left Foot Step" or "attack touch"

 

In the script this could be :

 

function animationCallbacks()

 

if animationCallback == "walk" and nameCallback == "left foot" then

 

end

 

if animationCallback == "walk" and nameCallback == "left foot" then

 

end

 

end

 

This is just a general idea.

Share this post


Link to post

I generally modify the existing AnimationManger to get this functionality in which I assign on Create() of the AnimationManager. Since AnimaitonManager isn't really even part of the core LE API I wouldn't think a feature like this would be part of the core API either but just a modification to AnimationManager.lua.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...