playMaker

Author Topic: 2D Arrays please!  (Read 3200 times)

stevvers

  • Playmaker Newbie
  • *
  • Posts: 9
2D Arrays please!
« on: November 17, 2018, 03:28:56 AM »
I'm really glad to see that arrays have been integrated instead of using ArrayMaker as was the case when I was last using PlayMaker, but could we please get 2D arrays? Considering the new array system uses FSM variables, and allows arrays to be set using any of the other FSM variables, hopefully it's not too difficult to add 'arrays' to this list to allow 2D arrays.

Thanks in advance.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 2D Arrays please!
« Reply #1 on: November 19, 2018, 03:16:35 AM »
Hi,

 using ArrayMaker actually gives you a lot more options and flexibility than the built in FsmArray, which is very good for some specific cases, but not as an overall solution for data handling.

 ArrayMaker has a new feature called ArrayTable, which is a 2d array in essence.

Else, it's probably a good idea to switch to a proper database, as a 2d array is really a table, and the jump to a full blown database is not that big when you start with 2d arrays,

you could also use spreadsheets, xml or json to define your data

Bye,

 Jean

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: 2D Arrays please!
« Reply #2 on: January 06, 2022, 08:59:38 AM »
Sorry for bumping this old post, but where can I find these ArrayTables? They're not showing up on the ecosystem or on the imported Arraymaker actions

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: 2D Arrays please!
« Reply #3 on: January 06, 2022, 11:16:03 AM »
Hi.
its in the array maker package.

It should be a component : Array List Table

and search for 'Array Table' in the actions

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: 2D Arrays please!
« Reply #4 on: February 11, 2022, 01:33:55 PM »
Hi.
its in the array maker package.

It should be a component : Array List Table

and search for 'Array Table' in the actions

Thanks!