Daikon Forge GUI Quest Log Window

If you have read about quest log windows before, read Quest Log Window first.

The Daikon Forge GUI support package contains a quest log window prefab and scripts to create your own.


How to Set Up a Quest Log Window

To set up a quest log window, add a prefab from the Daikon Forge GUI Support Prefabs folder or create your own layout and add the Daikon Forge Quest Log Window component.

If you're creating your own layout, you'll need to create the following controls:

Which uses the object hierarchy shown below:

Daikon Forge GUI quest log windows instantiate template objects to add elements such as quest headings and quest descriptions. You'll define how you want these elements to look in the templates. At runtime, the quest log window will make copies as necessary to fill out the window.

Finally, assign a Daikon Forge Quest Log Window component to the containing GameObject and assign the values as described below:

Property Function
Localized Text (Optional) Localized text for buttons and messages. See Localization for details
Quest Heading Source Specifies whether to use the quest's name or its description as the heading
Abandon Quest State The state that gets assigned to abandoned quests
Pause While Open Specifies whether to pause the game while the quest log window is open
UI Root The root object containing the dfGUIManager
Main Panel The main panel containing the quest log window controls
Active Quests Button When clicked, the quest table is populated with the list of active quests. This button should send the message "ClickShowActiveQuestsButton"
Completed Quests Button When clicked, the quest table is populated with the list of completed quests. This button should send the message "ClickShowCompletedQuestsButton"
Close Button The button to close the window
Scroll Panel The dfScrollPanel that will contain the quests
Quest Heading Template The template to use for the quest heading
Quest Description Template The template for use for the quest description
Track Button Template The template to use for the track button
Abandon Button Template The template to use for the abandon quest button
Abandon Popup The main panel for the modal popup window used to ask the player to confirm abandonment of a quest
Abandon Quest Title The label in the popup window that will be assigned the quest title
Abandon Popup

Controls will be instantiated from the templates as necessary to populate the scroll panel.


<< Daikon Forge GUI