View Full Version : Write to and create a File?
legacy-Doc_EDo
07-15-2003, 06:10 PM
Is it possibile from uscript?
legacy-Haral
07-15-2003, 08:16 PM
With Engine.FileLog I believe you can. I did something along these lines in the old UT engine. Don't know if that suits your unstated purpose though.
legacy-Doc_EDo
07-15-2003, 09:47 PM
Yes thanks.
The text file is what I need.
But the problem is that I only have these
native final function OpenLog(string FName); // No extension, .txt is auto appended
native final function CloseLog();
native final function Logf( string LogString );
So i cant create or delete a file, and that's very important...
legacy-Doc_EDo
07-15-2003, 10:09 PM
The objects are written to
..\Saves\t3dtest.uvx'
And logs to
..\UserLogs\t3dtest_t3d.log
and extensions are forced
so that renders that useless for me...
I'll just have to keep the external EXE I'm using now.
legacy-Vir@s
07-17-2003, 11:31 AM
Yeah I don't think a complete file handler is integrated - doesn't really make sense (at least not from Epics point of view ;))
elmuerte
07-17-2003, 02:32 PM
makes a lot of sense, it's an enormous security risk when you have real access to files
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.