L3DT users' wiki
Large 3D terrain generator

File format handlers

Analogous to the case for maps, formats are handled using the GetFormat function, like so:

map.SaveFile <GetMap "HF"> "C:\\temp\\myfile.bmp" <GetFormat "HF" 0 "bmp"> false true

The GetFormat function takes three arguments, which are map name (string), map type (int) and file extension (string). Please refer to the format_GetByExt API function for an explanation of the arguments.

 
plugins/general/zeoscript/reference/types/formats.txt · Last modified: 2017/08/31 04:49 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki