Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Alatriste on December 12, 2016, 09:46:40 AM

Title: Getting string IDs from a DataBase
Post by: Alatriste on December 12, 2016, 09:46:40 AM
Hi all,

I'm having some troubles figuring out how to proceed here:
I have a database (Excel style). Each row has an ID and with that ID I can get any  data from the database. The issue is how to get a system that can gives me those IDs without me having to manually introduce, one by one, all of them. They can be a lot.

I was thinking about creating a system with a prefix so, I can just change certain characters and the game will feed the rest. For instance: "ID_Episode1_001". If episode 1 has 10 dialogues, I'd like to have a system to give me "...001, 002, 003..." and so on. Then I can put them into an array and just call them from there.

The problem is that I'm not sure about how to do the first part. Any help?

P.s. I just read about DataMaker. Would it be something that fits here?

Thanks!
Title: Re: Getting string IDs from a DataBase
Post by: jeanfabre on December 14, 2016, 02:05:48 AM
Hi,

 Yes, DataMaker will help you, and the latest addition is indeed a csv parser.

(http://i.imgur.com/1TwZCmY.png)

Bye,

 Jean
Title: Re: Getting string IDs from a DataBase
Post by: Alatriste on December 14, 2016, 03:00:44 AM
Thanks a lot pointing me out in the right direction, Jean!