I assume you're following this?

Tutorial - Making an NPC sit.