I’m trying to make an Npc that hands out quests to the player, the player has to finish the current quest before they can start a new one. so far I just have a widget that the player walks into to activate.
Any advice would be great!
I’m trying to make an Npc that hands out quests to the player, the player has to finish the current quest before they can start a new one. so far I just have a widget that the player walks into to activate.
Any advice would be great!
You need to clarify your question, no one can read your mind
you will need to make a structure for your quest then build a datatable from that structure
Something like that:
name,
description,
playerClass,
prize [
{
itemID
Quantity
}
],
after that you will need to get the class o player in your quest widget (cast to player) and bring the list of quests for the given class
and show the list to the player
each item on the list will be a button so that the player can interact with the item…
you can do this with a grid and adding each item in the list as a child in the grid
you will need to make a class to save the current quest and check the npc to know if you already have an open quest or not…