Announcement

Collapse
No announcement yet.

Write to and create a File?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Write to and create a File?

    Is it possibile from uscript?

    #2
    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.

    Comment


      #3
      Yes thanks.
      The text file is what I need.
      But the problem is that I only have these
      Code:
      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...

      Comment


        #4
        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.

        Comment


          #5
          Yeah I don't think a complete file handler is integrated - doesn't really make sense (at least not from Epics point of view )

          Comment


            #6
            makes a lot of sense, it's an enormous security risk when you have real access to files

            Comment

            Working...
            X