Can I sort the list?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Can I sort the list?

Post by minomod »

I made a mess of order.
Can I sort the list?
Attachments
1.png
1.png (236.68 KiB) Viewed 966 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can I sort the list?

Post by Tony Li »

Hi,

You can (temporarily) change the conversation titles to the order you want, such as:
  • 03 1. James House
  • 01 2.Old Couple
  • 02 4.alley_2
  • etc...
and the select Menu > Sort > By Title. Then rename them back so your Conversation Triggers can find the right conversation by title:
  • 2.Old Couple
  • 4.alley_2
  • 1. James House
  • etc...
There's no way to drag the order of conversations yet, so you'll have to use the technique above for now.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Can I sort the list?

Post by minomod »

Thank you. Now the order is nicely aligned.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Can I sort the list?

Post by minomod »

Dialogue System: Lua code 'Dialog = Conversation[46].Dialog' threw exception 'Lookup of field 'Dialog' in the table element failed because the table element itself isn't in the table.'

I got this error after sorting the IDs.
IDs are sorted from 1 to 34, so 46 is no longer used.
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can I sort the list?

Post by Tony Li »

How did you sort the IDs? Did you select Menu > Sort > By ID?

Or did you add numbers to the front of the titles and select Menu > Sort > By Title?

Did you manually change the conversations' IDs? If so, this could cause trouble, but we can fix it.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Can I sort the list?

Post by minomod »

I changed the ID manually and added a number before the title.

Sorting has been done in two ways.
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can I sort the list?

Post by Tony Li »

You only need to add a number before the title, and then select Menu > Sort > By Title.

Manually changing the IDs may be a problem. Can you change them back? Or revert to a backup copy of the database? If you can't, let me know. I'll walk you through the steps to fix it.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Can I sort the list?

Post by minomod »

Replace an errored ID with an existing one.
I need to fix the ID of the conversation fingerprint to be created in the future by making it ID.
Thanks for the answer ^^
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can I sort the list?

Post by Tony Li »

Is everything working OK now?
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Can I sort the list?

Post by minomod »

I created a new problem ID and used it as an additional requirement. ^^
Everything works fine.
Post Reply