How to import csv files using blueprints

ok so for that data if you ran the script until the laod string array from file you would end up with an array with each index corresponding to a row of data.

  • index 0 = Data,XLoc,Yloc,Speed,Wait,KillKey
  • index 1 = 0,-241,90,84,0.86,W
  • etc etc.

then if you move along with the picture i posted, you get to the for each loop which does the script following it for every index in the array. there i break down the string even more. in the example i stored the data in a struct but how you use the data is up to you. the main thing here is that i broke the string down by the commas so index 0 (index 0 = Data,XLoc,Yloc,Speed,Wait,KillKey) becomes a new array

  • index 0 = Data
  • index 1 = XLoc
  • index 2 = YLoc

in this way its kinda like a 2d array or a matrix.

  • 0,0 = data
  • 0,1 = XLOC
  • 1,3 = 90