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 series of enemies to defeat or a puzzle to solve when the player leaves without completing the area.


Editor Node:

reset_map.1591035140.txt.gz · Last modified: 2020/06/01 11:12 by justin