Difference between revisions of "Savegamevar"

From EDukeWiki
Jump to navigation Jump to search
 
(Clarify usage with per-actor or per-player gamevars.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
savegamevar <varname>
'''savegamevar''' <varname>


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.