Difference between revisions of "Savegamevar"

From EDukeWiki
Jump to navigation Jump to search
(Clarify usage with per-actor or per-player gamevars.)
 
Line 2: Line 2:


Saves a [[gamevar]] to the user's configuration file for restoration at a later point with [[readgamevar]].
Saves a [[gamevar]] to the user's configuration file for restoration at a later point with [[readgamevar]].
For per-actor or per-player gamevars, the value at the current actor or player index gets saved, '''not''' the values for all actors or players.


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Latest revision as of 04:47, 17 March 2013

savegamevar <varname>

Saves a gamevar to the user's configuration file for restoration at a later point with readgamevar.

For per-actor or per-player gamevars, the value at the current actor or player index gets saved, not the values for all actors or players.