Savegamevar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
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 05: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.