⇐ Index
EditAddUndo(<-undoType)
Creates an undo entry when editing the map. The argument specifies the type of undo. A value of 0 means any terrain change. An undo entry can be restored by the map maker, by pressing ctrl/command-z. This command does nothing if the game is not in mission edit mode.
Note: Only undoType of 0 (zero) is supported.
EditAddUndo(0) SetTerrain(42 23 10) #The make can press ctrl-z to under the terrain change.
⇐ Index