Diegetic Quest Log UI
Posted: Thu Apr 08, 2021 7:44 pm
Hello!
Apologies if this question has been covered, but I didn't see anything in the forums.
I am trying to let the player trigger and interact with the quest log that is displayed on a worldspace canvas. The idea is to have the quest log display on an in-game terminal.
Specifically, I would like the following to happen after the player selects the in-game terminal (selection would be handled with the Usable component, if possible, as I have other terminals in the world for conversations that use this method and I would like to keep interactions consistent ):
1. The camera zooms in to the terminal screen.
2. The quest log appears (using Basic Standard Quest Log UI) on the terminal screen and can be interacted with by the player.
3. IF the player clicks the Close button of the Basic Standard Quest Log UI, the quest log closes.
4. The camera returns to its default position (I am using the camera that is attached to the "Player" prefab from the example project, FYI)
I feel like this would be easy to achieve if I were starting a conversation, as I can use the Dialogue System Trigger component and conversation sequence commands and such, but I am not exactly sure what to do in the case where I am displaying a Quest Log. I saw that there are commands I can use if I wanted to create a script to find the quest log in the scene and use the Open function. But I am not sure how to put it all together to make it work.
Any advice would be appreciated!
Apologies if this question has been covered, but I didn't see anything in the forums.
I am trying to let the player trigger and interact with the quest log that is displayed on a worldspace canvas. The idea is to have the quest log display on an in-game terminal.
Specifically, I would like the following to happen after the player selects the in-game terminal (selection would be handled with the Usable component, if possible, as I have other terminals in the world for conversations that use this method and I would like to keep interactions consistent ):
1. The camera zooms in to the terminal screen.
2. The quest log appears (using Basic Standard Quest Log UI) on the terminal screen and can be interacted with by the player.
3. IF the player clicks the Close button of the Basic Standard Quest Log UI, the quest log closes.
4. The camera returns to its default position (I am using the camera that is attached to the "Player" prefab from the example project, FYI)
I feel like this would be easy to achieve if I were starting a conversation, as I can use the Dialogue System Trigger component and conversation sequence commands and such, but I am not exactly sure what to do in the case where I am displaying a Quest Log. I saw that there are commands I can use if I wanted to create a script to find the quest log in the scene and use the Open function. But I am not sure how to put it all together to make it work.
Any advice would be appreciated!