If I load a file from the file system, e.g. via loadFile or preprocessFile, I can only load it once per mission load/reload. Means I change the content of the file each x seconds and if I login with my player and have a look at the output of the diag_log command I have in my script the output always has the same content, until I relogg again.
Is there any way to switch off this caching of files (or how to call it). I mean if I create a new file with a new name (file1.sqf, file2.sqf, file3.sqf,...) this new file gets loaded with the updated content...but if I read the same filename again and again it shows always the same content.
2.) Is there a way to delete files from the file system via the game?
Question
jahangir13
Hi all,
maybe someone has an idea or solution for this:
If I load a file from the file system, e.g. via loadFile or preprocessFile, I can only load it once per mission load/reload. Means I change the content of the file each x seconds and if I login with my player and have a look at the output of the diag_log command I have in my script the output always has the same content, until I relogg again.
Is there any way to switch off this caching of files (or how to call it). I mean if I create a new file with a new name (file1.sqf, file2.sqf, file3.sqf,...) this new file gets loaded with the updated content...but if I read the same filename again and again it shows always the same content.
2.) Is there a way to delete files from the file system via the game?
jahan.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now