Function GetActorAnimationEndFrame(actor, animation)
Returns the last frame in an actor's animation
Related: SetActorAnimationFrames