playMaker

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

stevvers

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
2D Arrays please!
« on: November 17, 2018, 01: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: 14373
  • Official Playmaker Support
    • View Profile
Re: 2D Arrays please!
« Reply #1 on: November 19, 2018, 01: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