Updating [#].SimStatus after running Sort > Reorder IDs
Posted: Thu Jan 05, 2023 5:44 pm
Hey Tony, hope you're doing well!
We are preparing things for sending our dialogue off to the Localization team. One of the last things we need to do is run the Sort > Reorder IDs function on each of the conversations.
We have been using Dialogue[#].SimStatus == "WasDisplayed" as a condition for some nodes in some of our conversations. We knew that down the road when we ran the "Reorder IDs" sorting that we'd have to go through and manually update those node ID#s to match the new ID#s, and, well, now here we are
I opened the DialogueDatabase.asset in a text-editor and did a search for ".SimStatus" to see how many there were. Thankfully there are only 50, so it won't be too terrible, but I'm still looking to figure out the most efficient way to find and update those ID#s.
This is what I'm thinking:
1) Make a copy of the DialogueDatabase.asset and open that in a text editor.
2) Do a search for ".SimStatus", and start from the top.
3) Each search result for ".SimStatus" looks like this:
4) So I can find the Conversation ID, and the NodeID like that, and then I run the "Reorder IDs" for that conversation and immediately update the Dialogue[#].SimStatus == "WasDisplayed" to the new ID#.
My question is - is there any built-in way to find out what conversation that is? AKA some way to say "open conversation number 121" within the Dialogue editor-window?
If not, I could probably write a quick tool where I input the conversation number and it tells me the conversation "name", but I figured I'd ask first!
Also if you have any other recommendations/suggestions for this process that would be better, please let me know!
Thanks for your help, as always!
We are preparing things for sending our dialogue off to the Localization team. One of the last things we need to do is run the Sort > Reorder IDs function on each of the conversations.
We have been using Dialogue[#].SimStatus == "WasDisplayed" as a condition for some nodes in some of our conversations. We knew that down the road when we ran the "Reorder IDs" sorting that we'd have to go through and manually update those node ID#s to match the new ID#s, and, well, now here we are
I opened the DialogueDatabase.asset in a text-editor and did a search for ".SimStatus" to see how many there were. Thankfully there are only 50, so it won't be too terrible, but I'm still looking to figure out the most efficient way to find and update those ID#s.
This is what I'm thinking:
1) Make a copy of the DialogueDatabase.asset and open that in a text editor.
2) Do a search for ".SimStatus", and start from the top.
3) Each search result for ".SimStatus" looks like this:
4) So I can find the Conversation ID, and the NodeID like that, and then I run the "Reorder IDs" for that conversation and immediately update the Dialogue[#].SimStatus == "WasDisplayed" to the new ID#.
My question is - is there any built-in way to find out what conversation that is? AKA some way to say "open conversation number 121" within the Dialogue editor-window?
If not, I could probably write a quick tool where I input the conversation number and it tells me the conversation "name", but I figured I'd ask first!
Also if you have any other recommendations/suggestions for this process that would be better, please let me know!
Thanks for your help, as always!