D
Deeo
Guest
I have a text file exported from an excel sheet that has a bunch of info for my game loaded into it in this format:
name,type,spriteid,objectid
name,type,spriteid,objectid
name,type,spriteid,objectid
name,type,spriteid,objectid
and i figured out how to get the entire line with file_text_read_string(); but i can't seem to find a way to just get, for example, just the name and add it to a 2d array like
array[item, item info1] = name;
array[item, item info2] = type;
array[item, item info3] = spriteid;
array[item, item info4] = objectid;
Is there a built in function I'm missing for this?
name,type,spriteid,objectid
name,type,spriteid,objectid
name,type,spriteid,objectid
name,type,spriteid,objectid
and i figured out how to get the entire line with file_text_read_string(); but i can't seem to find a way to just get, for example, just the name and add it to a 2d array like
array[item, item info1] = name;
array[item, item info2] = type;
array[item, item info3] = spriteid;
array[item, item info4] = objectid;
Is there a built in function I'm missing for this?