YouGroove Posted October 21, 2015 Share Posted October 21, 2015 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. 1 Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted October 21, 2015 Share Posted October 21, 2015 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. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.