Writing to an external file, in Papyrus

Post » Mon Jun 18, 2012 3:44 pm

In my script I would like to perform some action on the outcome of events; so I suppose it would be nice to write to a file for this purpose. Does anyone know if this is possible? The API doesn't seem to have a facility for this ...
User avatar
Robert Garcia
 
Posts: 3323
Joined: Thu Oct 11, 2007 5:26 pm

Post » Mon Jun 18, 2012 3:22 am

Couldn't you just use GlobalVariables?
User avatar
Monique Cameron
 
Posts: 3430
Joined: Fri Jun 23, 2006 6:30 am

Post » Mon Jun 18, 2012 12:40 pm

I'd like to perform an action *after Skyrim has ended*.
User avatar
Jade Muggeridge
 
Posts: 3439
Joined: Mon Nov 20, 2006 6:51 pm

Post » Mon Jun 18, 2012 4:50 pm

There are some http://www.creationkit.com/Debug_Script that can write to certain specific external files, but I think that's about it.

Cipscis
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm

Post » Mon Jun 18, 2012 4:15 pm

Brilliant, thanks that may just do it ... (the OpenUserLog function).
User avatar
Jennifer Munroe
 
Posts: 3411
Joined: Sun Aug 26, 2007 12:57 am

Post » Mon Jun 18, 2012 6:59 am

All we need is for a way to read from such a file, and that will really expand modding possibilities. SKSE anyone?
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am

Post » Mon Jun 18, 2012 2:31 pm

Or sockets :P *wink*
User avatar
Prue
 
Posts: 3425
Joined: Sun Feb 11, 2007 4:27 am


Return to V - Skyrim