Posted By
|
Message
|
tetsuya_shino
Registered 12/08/2004
Points 491
|
15th February, 2009 at 05:31:40 -
Greetings. So I just counted and realized I need to be able to save/load 130 different values for my game. I understand how to use the ini file, but it only works if I a ton of commands and have tgf load them one command at a time. All the ini examples I've seen only explain how to load/save one value. How can I save/load more vaules with a single command?
Also, about how many 'if player presses the 's' key' can I make before tgf crashs? Right now it looks like I'm going to need 260 of them. (130 for loading, 130 for saving). Thanks.
Edit: I'm up to 70 values now and it works with no problems. I guess I'll just keep going and hope I can reach 130 without it crashing.
Edited by tetsuya_shino
n/a
|
nim
Registered 17/05/2002
Points 7233
|
16th February, 2009 at 06:54:16 -
Are you using TGF2 or the old TGF? You'll be fine with TGF2, but I think there's an event limit on the old one.
You might also want to look into using a Fast Loop to load in the values rather than manually coding each value's loading/saving events.
Edited by nim
//
|
tetsuya_shino
Registered 12/08/2004
Points 491
|
16th February, 2009 at 08:18:30 -
I finally finished loading the 130 values. I made 130 counters to test them and everything works.
I'm using the old tgf. I'll look into using fastloop. Thanks.
n/a
|
]Alpha[
Registered 19/09/2003
Points 245
|
16th February, 2009 at 09:35:22 -
I suggest you to try TGF2 or MMF because if your project has 130 values to load/save, it means that it's a big project.
Soon or later TGF will start give you problem like erase random lines of code or crashing without any reason.
All that I see is the years...
|
Deleted User
|
16th February, 2009 at 14:31:02 -
Let's hope those cheap bastards at the navy don't just pay him in room and board. And booze.
|
|
|