Page 1 of 1

Renaming dialogue variables without losing conversation references

Posted: Thu Aug 31, 2023 8:55 pm
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?

Re: Renaming dialogue variables without losing conversation references

Posted: Thu Aug 31, 2023 9:20 pm
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].