-
Notifications
You must be signed in to change notification settings - Fork 0
Quests
More topics about Quests:
To create a new quest, simply perform a right mouse button click in the project view in Unity-Engine. The default folder for all items is:
Asstes/Objects/Quests/[Quest_name_folder]/...
In the menu go to:
- Right Mouse button --> Create --> HamsterGame --> Quest --> Quest
The default name for a newly created item is "new Quest", change this name to whatever name you want. Subsequently, click on the newly created quest file, as a result, the inspector should look like this:
Explanation of the properties:
Name | Datatype | Description |
---|---|---|
QuestName | string | Name of the Quest. |
QuestDescription | string | Description of the quest gets displayed in quest log (Quest log not implemented yet). |
StageDescription | string | Description of the current quest stage gets displayed in the quest log (Main Screen). |
Condition | Condition | What conditions does this quest has? |
QuestDone | bool | If the conditions are fulfilled. |
QuestFailed | bool | If it is no longer possible to fulfill the condition. |
A quest isn't working without a termination condition, go to chapter Conditions for more information.
After you set up everything important for that quest, you have to add the quest to the "Quest Collection". To do so, select the "Manager" game object in the hierarchy, then on the inspector (Right-hand side) search for the "Quest Collection" component.
Click the "+" sign to add a quest. After that, you don't have to do any more actions.