Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: app_advisory on October 27, 2014, 03:11:16 PM

Title: 2 dimensions array with Arraymaker ?
Post by: app_advisory on October 27, 2014, 03:11:16 PM
Hi,

Is there a way to make a 2 (or more) dimensions array ?

Thanks !
Title: Re: 2 dimensions array with Arraymaker ?
Post by: Matias H. Moro on February 22, 2015, 09:09:10 PM
So? It is possible? I'm about to download arraymaker to see this for myself!
Title: Re: 2 dimensions array with Arraymaker ?
Post by: Matias H. Moro on February 22, 2015, 09:54:56 PM
Hi,

Is there a way to make a 2 (or more) dimensions array ?

Thanks !

I've checked, and it's not possible, you have to use Jagged arrays.That is, a regular array that contains several arrays. You can google the concept, it seems complicated, but is fairly easy to master and understand.
Title: Re: 2 dimensions array with Arraymaker ?
Post by: jeanfabre on February 23, 2015, 01:14:27 AM
Hi,

I am doing the following when I need 2 dimensions arrays.

 I have one Gameobject with several arrayList, each with the reference set to the column, for example "Name","Surname","Age"

 so I have three arrays now. and everytime I populate the array, I set the value at the same index on the three different arrays with the right value.

 Bye,

 Jean