Savemapstate
Jump to navigation
Jump to search
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.