Components/QuestNPC

From sine.space Wiki
Jump to: navigation, search

To turn any object in your scene into the Quest NPC, add the Quest NPC component to it. (You might normally make the Quest NPC a humanoid NPC, with the Statue component on it, rendering it as a character, but you can add the Quest NPC component to anything with a collider on it that the user can click to start the quest.)


Questnpcscript.jpg


Once you have added the quest NPC component to an object in your scene, drag that object into the Destination NPC field in the first step of your quest.

Now when a user clicks that object it will allow them to start your quest.