User Tools

Site Tools


reset_map

This is an old revision of the document!


Reset Map


Resets the specified map to its original state.

Signature:

reset_map(map_name)
ArgumentDescriptionTypeRequired
map_nameName of the map to reset.StringYes

Example:

reset_map("dungeon")

Results: The map with resource name “dungeon” is restored to its original state.

Use the Reset Map function to reset a dungeon containing a puzzle when the player leaves without completing the area.


Editor Node:

reset_map.1591032738.txt.gz · Last modified: 2020/06/01 10:32 by justin