UAnimInstance::GetStateMachineIndex

Gets the index of the state machine matching MachineName