I have a multidimensional array (X,Y), which looks something like
arr["LevelDescription","LevelTime","LevelGoal","LevelXlocations"]
LevelXLocations = 0,5,6,84,7,9,2
LevelXLocations is different for each level,
I have a spawn item function, which creates an item according the the array, how can I do something like:
Self.X = choose(arr[LvlIdx,LevelXlocations])
So, how can I covert a string to choose parameters
Thanks