Readgamevar

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

readgamevar <varname>

Reads a gamevar that was saved with savegamevar from the user's configuration file. If the named gamevar is not found in the configuration file (for example, because savegamevar was never issued for it), <varname> equals 0 after readgamevar finishes.

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.