T
TheTrophieStars
Guest
I'm working on a dialogue system and I am having trouble getting game maker to read my ini file.
This should flip through a section of my ini file (which is ordered like an array) to assign the text there to an actual array. I can't figure out why this isn't working properly.
Code:
ini_open("Dialogue.ini");
iniPage = 0;
while(ini_read_string(string_lower(myName), string(iniPage), "-451") != "-451")
{
myText[iniPage] = ini_read_string(string_lower(myName), string(iniPage), "-451");
show_debug_message(myText[iniPage]);
iniPage++;
}
ini_close();