Game Development Community

Reading & saveing infomation to files via script

by Thomas Oliver · in General Discussion · 05/02/2002 (12:03 am) · 12 replies

Reading & saveing infomation to files via script is this currently possible via script?

I remember seeing a post a long time ago that had something similar to this but I can not find it now. (search function messed up on the site?)

#1
07/30/2002 (12:23 am)
Im working on this as well, if anyone has any input into this please feel free to speak up.
#2
07/30/2002 (12:33 am)
Something like this?
new fileObject( "saveFile" );
      saveFile.openForWrite( $TGEConEd::SaveFilePath @ %filename @ ".cs" );
      saveFile.writeLine("Some text here!");
      saveFile.close();
      saveFile.delete();
#3
06/13/2003 (8:46 am)
great...now if only i could read it....
#4
06/13/2003 (9:12 am)
have a look at saveFile.dump();
#5
06/13/2003 (1:14 pm)
This is really the wrong forum for this.
#6
06/13/2003 (11:48 pm)
maybe, why dont u answer the question while u complain?
#7
06/14/2003 (2:45 am)
When the question is asked in the APPROPRIATE FORUM I will answer it. Nevermind the fact that this question was obviously answered LAST YEAR. If you have a new question concerning the same subject. Ask it in the APPROPRIATE FORUM.
#8
06/14/2003 (8:26 am)
half the question was answered last year
don't u think the other half should be in the same thread?
also, if u really want it asked in the forum u think it belongs in, u should mention what that forum is....
smart
#9
06/14/2003 (8:57 am)
You know. When you have a scripting question, LabRat really isn't the guy you want to piss off.

You act like people owe you help.
#10
06/14/2003 (9:29 am)
Nobody owes me help. Documentation would be appreciated.
Labrat owes me nothing, but he shouldn't be bitching people out instead of helping. It's a waste of time. I still don't know which forum to post in, and I still can't get an answer. I've had this thing 3 days and I can't save to a file.

There isn't documentation on it, fine. But you'd think there would be SOME WAY to find out!
#11
06/14/2003 (2:00 pm)
Joseph:

You posted in an inappropriate forum. LabRat did not bitch you out. Had I read the post first, I would have told you to move it to the appropriate place as well.

It is not too difficult to read the forum descriptions to figure out where your posts should go. In case you can't figure it out, the documentation for using the forum follows:

Click on the link on the right that says Forums. Then read the titles and the descriptions to determine where to best ask your questions.

For future reference, your response was inappropriate and will not get you very far in this community. People here are very helpful, even to newbies, but not if you come across as you just did.

-Jeff Tunnell GG
#12
06/14/2003 (2:15 pm)
thanks
but they also don't like it when you don't SEARCH for relevant posts instead of start new threads.
so i found this thread that had EVERYTHING to do with my question, and i tacked my post on to it.

I DID NOT START THIS THREAD and therefore I HAVE NO CONTROL OVER WHERE IT IS PLACED
however, i have now learned it is more important to be in the right forum then to post to a relevant thread. I apologise for trying to save those helpful people time by not making them answer what was already answered.

Silly me.