|
Hyper.nl Unreal Services The forum of Hyper.nl Unreal Services and the semi-offical resource for Winged Unicorn's Unreal mods
|
View previous topic :: View next topic |
Author |
Message |
SoulReaver
Joined: 15 May 2004 Posts: 162
|
Posted: Thu Oct 05, 2006 6:32 pm Post subject: [solved] var config ### ###, changable? |
|
|
Solved
Hello, im stuck on the following problem:
Im making a kind of message object, it stores a message into a string:
var string Message;
Now, i want the string to be saved into a file, so on the next serverboot it will load it again. This can be done with config:
var config string Message;
Now, the message is written to a file. But if i change Message ingame, then exit the server, it does not write the new string to the file (i tested)
So, if it possible to let it write the new string in the file if it gets changed?
Thanks in advance,
-SR _________________ Before asking, try the Unreal wiki here.
------------------------------
New UT3 Community site.
Last edited by SoulReaver on Fri Oct 06, 2006 11:30 am; edited 1 time in total |
|
Back to top |
|
|
Zombie
Joined: 27 Jan 2004 Posts: 295
|
Posted: Fri Oct 06, 2006 7:26 am Post subject: |
|
|
From uscript use SaveConfig() after any config variable changes. In Advanced Options any INT file for a mod needs "Immediate=True" as part of the Preferences struct. If you're trying to 'set' save on the server then use the admin command, else use 'set' by itself for client local.
-Zombie _________________ GameType: JCoopZ1 - Build137 (11/30/12)
Mutator: DZMapM - 2.34 (12/15/11) |
|
Back to top |
|
|
SoulReaver
Joined: 15 May 2004 Posts: 162
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|