Quest Indicators

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
yunglads
Posts: 3
Joined: Sat Nov 21, 2020 6:43 am

Quest Indicators

Post by yunglads »

Trying to set up quest indicators on my NPC but I can't seem to figure out how the indicator and listener scripts work. All I want to do is have an exclamation point when a quest is unassigned and shut it off when it becomes active. I've read the documentation on the indicators but I still can't seem to grasp what I'm supposed to do. Can someone explain to me what I'm doing wrong? thanks.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Indicators

Post by Tony Li »

Hi,

The Quest Indicators system is very flexible, but this also makes them a little confusing to set up the first time.

1. Add a Quest State Indicator component to your NPC. Add two elements (Element 0 and Element 1) to the Indicators list. Leave Element 0 unassigned. Assign an exclamation mark GameObject to Element 1. (See Sergeant Graves in DemoScene1 for an example.)

2. Then add a Quest State Listener component to your NPC. Select the quest you want the NPC to watch. Add an element to Quest State Indicator Levels. Set Quest State to unassigned, and set the Indicator Level to 1.

Repeat #2 for each quest the NPC needs to watch. (One Quest State Listener for each quest.)
yunglads
Posts: 3
Joined: Sat Nov 21, 2020 6:43 am

Re: Quest Indicators

Post by yunglads »

Hi Tony, thanks for the reply. So I set it up the way you said above but it's still not going away when I accept the quest. Heres my inspector for info not sure where it's going wrong.
questIndicator.png
questIndicator.png (127.17 KiB) Viewed 294 times
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Indicators

Post by Tony Li »

Hi,

I misspoke earlier. Add another element to Quest State Indicator Levels. For the quest state, select Active. Set Indicator Level to zero.
yunglads
Posts: 3
Joined: Sat Nov 21, 2020 6:43 am

Re: Quest Indicators

Post by yunglads »

Thanks for the quick reply and yup that's working now thanks, Tony!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Indicators

Post by Tony Li »

Happy to help!
Post Reply