A word of advise, you don't have to make such a simple task so much trouble.

If you go to Char scripts in the side bar of your NPC, you can add a pre-made script called "Sit"

After adding it, click on the script and you can choose your chair from a list.

Takes 5 seconds!