Page 1 of 1
Import all actors from custom database
Posted: Wed Jan 02, 2019 4:49 am
by juliusdays
Hi,
How to import actors from custom database?
Re: Import all actors from custom database
Posted: Wed Jan 02, 2019 8:40 am
by Tony Li
Hi,
Would you please provide more details? What database format? Import at design time or runtime?
Re: Import all actors from custom database
Posted: Wed Jan 02, 2019 10:39 am
by juliusdays
I have actors database using google sheet then export it as json file and import it at design time.
Re: Import all actors from custom database
Posted: Wed Jan 02, 2019 11:35 am
by Tony Li
If you're using Google Sheets, export as CSV. Then import it using the CSV Import window (
Tools > Pixel Crushers > Dialogue System > Import > CSV).
The spreadsheet must be in a specific format. To see an example, export the demo database using the Dialogue Editor window:
Then add your actors, assigning a unique ID number to each one. In the example below, I added a new actor named "Anime Guy":
Then import it with overwrite, which will add it to your database:
Re: Import all actors from custom database
Posted: Thu Jan 03, 2019 5:43 am
by juliusdays
Wow.. thank you
Re: Import all actors from custom database
Posted: Thu Jan 03, 2019 9:23 am
by Tony Li
Glad to help!