Difference between revisions of "Readgamevar"

From EDukeWiki
Jump to navigation Jump to search
(Clarify usage with per-actor or per-player gamevars.)
Line 2: Line 2:
  
 
Reads a [[gamevar]] that was saved with [[savegamevar]] from the user's configuration file.
 
Reads a [[gamevar]] that was saved with [[savegamevar]] from the user's configuration file.
 +
 +
For per-actor or per-player gamevars, the value at the current actor or player index gets restored, '''not''' the values for all actors or players.
  
 
[[Category:EDuke32 specific commands]]
 
[[Category:EDuke32 specific commands]]
 
[[Category:Gamevar manipulation]]
 
[[Category:Gamevar manipulation]]

Revision as of 05:48, 17 March 2013

readgamevar <varname>

Reads a gamevar that was saved with savegamevar from the user's configuration file.

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