Character.bindAnimationCallback
Binds a character's animation to a callback function.
Kind: Function
Environments: Game
Game
character:bindAnimationCallback( animationName, triggerTime, callback )
Parameters:
| Name | Type | Description |
|---|---|---|
character |
Character | The character. |
animationName |
string | The name of the animation. |
triggerTime |
number | The required time that will have elapsed in the animation when the callback is triggered. |
callback |
string | The name of the Lua function to bind. |