Savemapstate: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with ''''savemapstate''' saves the state of the current map so that it may be restored later using loadmapstate. Typically, '''savemapstate''' would be used immediately before exi...'
 
mNo edit summary
 
Line 1: Line 1:
'''savemapstate''' saves the state of the current map so that it may be restored later using [[loadmapstate]].  Typically, '''savemapstate''' would be used immediately before exiting a level, so that if the player returns to the map, it can be restored to the state it was in when the player left it.  '''savemapstate''' will increase the size of saved game files, depending on the number of different maps that are cached.  See also [[clearmapstate]].
'''''savemapstate''''' saves the state of the current map so that it may be restored later using [[loadmapstate]].  Typically, '''''savemapstate''''' would be used immediately before exiting a level, so that if the player returns to the map, it can be restored to the state it was in when the player left it.  '''''savemapstate''''' will increase both the size of saved game files, and general memory usage, depending on the number of different maps that are cached.  See also [[clearmapstate]].

Latest revision as of 02:52, 9 November 2009

savemapstate saves the state of the current map so that it may be restored later using loadmapstate. Typically, savemapstate would be used immediately before exiting a level, so that if the player returns to the map, it can be restored to the state it was in when the player left it. savemapstate will increase both the size of saved game files, and general memory usage, depending on the number of different maps that are cached. See also clearmapstate.