function GetActorEndFrame( actor )
Returns the last frame of an actor's animation