Question by
RemDust · Apr 03, 2016 at 03:20 PM ·
scripting problemarraylist2d array
Assign values to array elements
Hi guys, How to assign an int to an array element ?
I've got an array of scripts, I'd like to make each one of these scripts match an int (see principle image below)
principleimage.jpg
(25.1 kB)
Comment
Answer by Happy-Zomby · Apr 05, 2016 at 06:48 PM
hi, I'm not sure what this is for... but you could create a second array - one of int[] - and stored your 4 an 7 there.... then if you want to look for 7 you will find it is the second item of your int [] array and you can use that position to get the script in the other array. hope that helps,