AnimTime/fr
From M.U.G.E.N Wiki
< AnimTime
This page is in progress of being translated to fr. You can help translating it or go to another language version that follows:
Trigger: AnimTime
Gives the difference between the looptime of the current animation action and the player's animation-time. Useful for knowing when the end of the animation has been reached. (Animation-time is the time in game-ticks that the player has spent within the current animation action.) The name may be confusing. Try to think of it as "time from the end of the animation". During the animation, AnimTime will always return a non-positive number.
- Format:
- AnimTime
- Arguments:
- none
- Return type:
- int
- Error conditions:
- none
Example:
trigger1 = AnimTime = 0 Triggers when the animation-time is equal to the animation action's looptime, ie. the end of the action has been reached.