Results 1 to 6 of 6
  1. #1
    MSgt. Shooter Person
    Join Date
    Aug 2002
    Posts
    434

    Default Write to and create a File?

    Is it possibile from uscript?

  2. #2
    MSgt. Shooter Person
    Join Date
    May 2000
    Posts
    31

    Default

    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.

  3. #3
    MSgt. Shooter Person
    Join Date
    Aug 2002
    Posts
    434

    Default

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

  4. #4
    MSgt. Shooter Person
    Join Date
    Aug 2002
    Posts
    434

    Default

    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.

  5. #5
    MSgt. Shooter Person
    Join Date
    Mar 2001
    Posts
    112

    Default

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

  6. #6
    Redeemer
    Join Date
    May 2000
    Location
    between the monitor and chair
    Posts
    1,523

    Default

    makes a lot of sense, it's an enormous security risk when you have real access to files
    Michiel 'El Muerte' Hendriks
    Magicball Network - Little Big Adventure community
    the Unreal Admin page - Unreal server administration
    UnrealWiki - UnrealScript and UnrealEd wiki.
    UnCodeX - powerful UnrealScript tool for programmers


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.