Npc dialogue system

Hey guys, im new here, and im trying to know how i can use a checker point over NPC, basically when we talk with him we save the game and we spawn in other place! Im noob in this things and if u could help me i would apreciat it, thanks!