Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-10-2006, 02:55 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
specific adding in a text file

well, as the title says, I'm trying to change something inside a text file (.arc)

my arc files are like this:

HTML Code:
arcnames=
folders=
amount=
account=
Now, all the weapons of the player is stored inside this arc file, into arcnames.
I usually have to do it manually, but, I haven't found a method to edit one member of the file, I made a thread about this, but didn't get what I really wanted (I got confused, in a other way), I got told I could use obj.add();
but how do I use it with loadvars and savelines and such?

I just want to add a string to arcnames, without rewriting the whole script with savelines.. so..

any thoughts?
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.