Renaming dialogue variables without losing conversation references

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
indevergames
Posts: 5
Joined: Mon Feb 21, 2022 3:28 am

Renaming dialogue variables without losing conversation references

Post by indevergames »

Hi there, is there any way to rename the lua variables in your dialogue database without conversations losing their references to those variables?
User avatar
Tony Li
Posts: 21069
Joined: Thu Jul 18, 2013 1:27 pm

Re: Renaming dialogue variables without losing conversation references

Post by Tony Li »

Hi,

Use the Asset Renamer tool (menu item Tools > Pixel Crushers > Dialogue System > Tools > Asset Renamer). If you're only concerned about the database, you could do a global search and replace (in the Dialogue Editor's Database section) for Variable["variableName"] and [var=variableName].
Post Reply