Hello.
We are currently implementing a conversation log, but is it possible to select a specific sentence in the conversation log and warp to that conversation?
I can't rely on my own ability alone, so if there is a way, I would appreciate it if you could let me know.
Is there a way to warp to the selected sentence in the conversation log?
-
- Posts: 36
- Joined: Sun Jul 14, 2024 2:35 am
Re: Is there a way to warp to the selected sentence in the conversation log?
Hi,
If you need track of the dialogue entry ID, you can start a new conversation at that ID using the C# method DialogueManager.StartConversation():
If the conversation is already active, you can use DialogueManager.conversationController.GotoState(DialogueManager.conversationModel.GetState()):
If you need track of the dialogue entry ID, you can start a new conversation at that ID using the C# method DialogueManager.StartConversation():
Code: Select all
DialogueManager.StartConversation("title", player.transform, npc.transform, entryID);
Code: Select all
var entry = DialogueManager.masterDatabase.GetDialogueEntry(DialogueManager.lastConversationID, entryID);
DialogueManager.conversationController.GotoState(DialogueManager.conversationModel.GetState(entry));
-
- Posts: 36
- Joined: Sun Jul 14, 2024 2:35 am
Re: Is there a way to warp to the selected sentence in the conversation log?
We confirmed that you can jump directly to the conversation. thank you.
I also wanted to find out how to jump from the conversation log, but that would require a lot of effort to adjust the display, so I decided not to do it due to the amount of man-hours involved.
However, the warp function itself seems to be usable, so I think I'll use it somewhere.
I also wanted to find out how to jump from the conversation log, but that would require a lot of effort to adjust the display, so I decided not to do it due to the amount of man-hours involved.
However, the warp function itself seems to be usable, so I think I'll use it somewhere.
Re: Is there a way to warp to the selected sentence in the conversation log?
Glad you got it working!