playMaker

Author Topic: Getting string IDs from a DataBase  (Read 1422 times)

Alatriste

  • Full Member
  • ***
  • Posts: 193
Getting string IDs from a DataBase
« 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!
« Last Edit: December 12, 2016, 10:21:11 AM by Alatriste »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Getting string IDs from a DataBase
« Reply #1 on: December 14, 2016, 02:05:48 AM »
Hi,

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



Bye,

 Jean

Alatriste

  • Full Member
  • ***
  • Posts: 193
Re: Getting string IDs from a DataBase
« Reply #2 on: December 14, 2016, 03:00:44 AM »
Thanks a lot pointing me out in the right direction, Jean!