playMaker

Author Topic: Import Data into Array  (Read 843 times)

Strail

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Import Data into Array
« 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.)?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4539
    • View Profile
    • jinxtergames
Re: Import Data into Array
« Reply #1 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?

Strail

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Import Data into Array
« Reply #2 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?

Strail

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Import Data into Array
« Reply #3 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14500
  • Official Playmaker Support
    • View Profile
Re: Import Data into Array
« Reply #4 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14500
  • Official Playmaker Support
    • View Profile
Re: Import Data into Array
« Reply #5 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:



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

Bye,

 Jean