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 06-11-2012, 06:19 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is just really niceTricxta is just really nice
saveVars creating invisible files?

I looked around and I couldn't find anything explaining this..

This is the code i'm using:
PHP Code:
      this.filePath "logs/Projects/workboard/";  

      
temp.lines = new TStaticVar();
      
temp.lines.variable "Hello";
      
temp.lines.secondvariable "World";
      
temp.lines.saveVars(this.filePath@"testProject.txt"0);
            
      
temp.loadVariables.loadvars(this.filePath@"testProject.txt");
      echo(
"Variables:"@temp.loadVariables.secondvariable); 
The problem is I can't read and write to visible files in the folder, but I can create and read from invisible files in the folder. Does anyone have any clue why this is the case?

Thanks
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 12:28 AM.


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