-
INI object help!
i making a game that once a button is pressed it sets the INI value to 1500. A couple frames later i made it that Start of frame set counter to value of ini. for some reason the counter is staying to 0. i went to the folder that i set the ini file to and opened it and it said 1500! i dont understand why the Ini has 1500 but the counter isnt changing! HELP! l0ol
-
Re: INI object help!
If there's 1500 in the file, then it sounds like it's reading it into the game that's the problem - double check that your group and item names when you retrieve the data from the INI are correct.
l0ol.
-
Re: INI object help!
i didnt put a group or item into it. how will the value 1500 huundred be too hard to read? its only 4 numbers. i made a game with the ini object before and it was just fine.
l0ol
-
Re: INI object help!
Does it work if you set a group and item first? (or use the all in one expression)
-
Re: INI object help!
Perhaps it's easier this way: What does the INI file actually contain?
-
Re: INI object help!
i figured out the problem. it was the transition! Wow i couldnt believe it either. i did a fade to backround transition. the problem was i did Start of frame: set counter to value of ini. there was no start of frame because of the transition. anyway i took it out and now it works :)
l0ol