If you going to swap to a different character there's a lot more involved, animations/animscripts are different so it's not just like swapping a model.
You can try detaching all models and calling your character script on the AI, not sure if that works though..
If your new model uses the same joints and animations you can just use setmodel()