Readgamevar: 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:


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 04: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.