I'm curious what options are available to me for storing data in DBP.
I'd like to have basically a database in which I can include all of my NPC stats, with at least 10 different stats per record.
I would prefer to be able to query this database to only pull the stats for NPCs that are nearby so as not to keep the entire data set in memory.
I understand that arrays are capable of storing a large amount of data, but I'm not sure how to go about querying an array that's stored in a seperate file and frankly I've been having a lot of trouble creating and updating an array properly in the first place, but if I have to figure it out I certainly will.
If that's not possible, are there any ways to query and/or update a SQL database or similar from DBP?
Any guidance anyone can provide would be greatly appreciated.
One last question, has anyone been successful with assigning data to an array within a function? (i.e. you load an NPC when you are within x distance of it, and when that happens you call a function to load the object and insert stats for that object into your array?)
Thanks in advance
A Cloaking Robe of Elven-Kind hangs in my wardrobe behind
All those things that mother said were proper for a boy