SAVE_CANVAS
Writes the canvas into a file. A file that exists is only replaced with overwrite TRUE, otherwise SCHEMATIC_EXISTS. The client of the player must allow writing (allowSchematicWrites, otherwise SCHEMATICS_DISABLED). A file larger than maxSchematicSize raises SCHEMATIC_TOO_LARGE.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvasfileSTRING: the name of the fileoverwriteBOOLEAN: replace a file that exists (optional, default FALSE)
Example
c0de
CALL c0de_paint/cpaint/SAVE_CANVAS
PARAMETER canvas house ;
PARAMETER file "house" ;