Edit Conversation ID

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
wodnr97
Posts: 4
Joined: Sat Jul 31, 2021 2:59 am

Edit Conversation ID

Post by wodnr97 »

Hi.
Could you tell me how can I edit conversation ID?
I know I can do it if i set inspector to 'Debug' mode, but is is extremely slow because it will show other conversations as elements as well.


Background:
- we are using three Dialogue DBs, Main, Sub1, Sub2
- Sub1 and 2 are duplicated version of Main.
- We are merging Sub1 and Sub2 to Main.
- Problem is, If newly added conversration of Sub1 and Sub2 are same, one of their conversations will be gone. (Replacing conflicting IDs option)
- We cannot use "Allow Unique IDs" Option when merge because Sub1 and Sub2 are duplicated version of Main. (It will add massive copies of existing conversations)



https://www.pixelcrushers.com/phpbb/vie ... t=git#p662
- I have read this thread.
- I wonder the method to do "you can allocate a range of IDs for each database and make sure the designers set the ID field to numbers in that range. For example, database A could use IDs 100-199, database B could use IDs 200-299, etc." of you saying. in that thread.




Question :
1. Is there any way to set a range for newly created Conversation ID(like 300 - 500)?
2. Is there any way to edit a conversation id manually or automatically?
User avatar
Tony Li
Posts: 22144
Joined: Thu Jul 18, 2013 1:27 pm

Re: Edit Conversation ID

Post by Tony Li »

Hi,
wodnr97 wrote: Sat Jul 31, 2021 3:07 am1. Is there any way to set a range for newly created Conversation ID(like 300 - 500)?
This is coming in 2.2.19. In each database, you can specify the base ID (e.g., 1 - 999 for main DB, 1000-1999 for sub1, 2000-2999 for sub2). This way you are unlikely to have conflicts, even without using the Unique ID Tool.
wodnr97 wrote: Sat Jul 31, 2021 3:07 am2. Is there any way to edit a conversation id manually or automatically?
No. Technically you can do it manually by closing the Dialogue Editor and ticking in the inspector's 'Show Default Inspector' checkbox. Then you can expand Conversations > Element #. But, in addition to changing the conversation's ID, you must update all dialogue entries' Outgoing Links because each Outoing Link includes conversation IDs. Since it's easy to accidentally miss an Outgoing Link, I recommend against manually changing IDs.
wodnr97
Posts: 4
Joined: Sat Jul 31, 2021 2:59 am

Re: Edit Conversation ID

Post by wodnr97 »

Hi, Tony.
Thanks for your replay.
We will look forward for newer version.
:)
Post Reply