User Tools

Site Tools


reset_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reset_map [2020/06/01 11:12] justinreset_map [2021/04/21 18:43] (current) justin
Line 2: Line 2:
 ---- ----
  
-Resets the specified [[map|map]] to its original state.+Resets the specified [[map|map]] to its original state. When resetting the current [[map]], the [[player_character|player character]] will be returned to the [[tile|tile]] they started on when the [[map|map]] was last loaded.
  
 ====Signature:==== ====Signature:====
Line 14: Line 14:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-reset_map("dungeon")+reset_map("dungeon");
 </code> </code>
 //Results:// The [[map|map]] with resource name "dungeon" is restored to its original state. //Results:// The [[map|map]] with resource name "dungeon" is restored to its original state.
reset_map.txt · Last modified: 2021/04/21 18:43 by justin