Hi,
The Quest Indicator Manager's Quest Indicator UI field needs to point to a GameObject or prefab that has a Quest Indicator UI component.
Here are the steps I recommend:
1. Add the prefab Assets / Plugins / Pixel Crushers / Quest Machine / Prefabs / Quest Indicator UI as a child of your NPC's Quest Indicator Manager GameObject:
- qmCustomIndicator1.png (211.99 KiB) Viewed 713 times
The Quest Indicator UI prefab has a number of child GameObjects. Each one is an indicator that will be shown depending on the quest state. For example, if the NPC can offer a quest, it will activate the 'Offer' child GameObject. If the NPC has an offerable quest but the player doesn't meet the offer conditions yet, it will activate the 'Offer Disabled' child instead.
2. Remove whichever child GameObject you want to replace. (You may need to right-click on the prefab and select Unpack Prefab to be able to delete children.) Add your 3D exclamation mark in its place. In the example below, I removed the 'Offer' GameObject and added 'MY 3D OFFER PREFAB' in its place:
- qmCustomIndicator2.png (18.39 KiB) Viewed 713 times
Then assign it to the Quest Indicator UI component:
- qmCustomIndicator3.png (19.96 KiB) Viewed 713 times
3. Inspect the NPC's Quest Indicator Manager component. Assign the Quest Indicator UI child. Then give it a play.
Optional: Once you've confirmed that it works, you can save your customized Quest Indicator UI as a new prefab. Then delete it from the NPC and assign your new prefab to the Quest Indicator Manager instead.