Page 1 of 1
Quest Indicators
Posted: Wed Nov 25, 2020 2:21 am
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.
Re: Quest Indicators
Posted: Wed Nov 25, 2020 9:26 am
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.)
Re: Quest Indicators
Posted: Fri Nov 27, 2020 5:16 pm
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 (127.17 KiB) Viewed 289 times
Re: Quest Indicators
Posted: Fri Nov 27, 2020 5:29 pm
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.
Re: Quest Indicators
Posted: Fri Nov 27, 2020 5:35 pm
by yunglads
Thanks for the quick reply and yup that's working now thanks, Tony!
Re: Quest Indicators
Posted: Fri Nov 27, 2020 8:02 pm
by Tony Li
Happy to help!