Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Strail on February 11, 2018, 02:26:44 PM

Title: Import Data into Array
Post by: Strail on February 11, 2018, 02:26:44 PM
Now that "Array List Get" is not in the action browser or ecobrowser, how do I import my text file into an array?

If I cant, what other solutions (not hand typing data) are people using for large data import and access (Weapon Stats, Items, etc etc.)?
Title: Re: Import Data into Array
Post by: djaydino on February 12, 2018, 03:51:01 AM
Hi,
"Array list get"
is from the "Array Maker" Package
You can get the package on the Ecosystem.

But this is using the array list proxy.

if you are using the standard array (included when playmaker is installed)
The you should use 'Array Get'

Are you following some tutorial?
Title: Re: Import Data into Array
Post by: Strail on February 12, 2018, 07:44:17 AM
Thanks for replying. I recall using a text file and uploading with that action, maybe thats old news now.

I have looked at Array Get and it doesnt have a file location field to upload. Perhaps you could give me a short example of how to upload a text file into an array?
Title: Re: Import Data into Array
Post by: Strail on February 17, 2018, 04:12:59 AM
I havent solved this, is there a way to load a text or csv to an array please?
Title: Re: Import Data into Array
Post by: jeanfabre on February 19, 2018, 12:46:15 AM
Hi,

 Currently, you can get a csv file into an Xml and use DataMaker to put your data this way.

I am currently working on a project that make use of Google sheet and I am making new actions to work with csv file, so soon you'll be able to pull data from csv to ArrayMaker.

 Bye,

 Jean
Title: Re: Import Data into Array
Post by: jeanfabre on February 20, 2018, 01:40:45 AM
Hi,

 actually, I looked it up, and I think I provided everything you need for working with csv in the DataMaker package:

(https://i.imgur.com/c8OCT4u.png)

Let me know if this is not suitable for you, but you can indeed save rows and columns into arrays.

Bye,

 Jean