The filepath to be written to. Max length for filename is 259 characters (see: Windows MAX_PATH).
Before Reforged (which version?) you needed to enable "Allow Local Files" in registry.
Save Path:
Reforged: %USERPROFILE%\Documents\Warcraft III\CustomMapData\
Classic: ?
@note See: Preload, PreloadEnd, PreloadStart, PreloadRefresh, PreloadEndEx, PreloadGenClear, PreloadGenStart, Preloader.
Generated using TypeDoc
Writes the current Preload buffer to specified file. The first and final preload directives are
call PreloadStart()andcall PreloadEnd( realTime ). The value represents the time in seconds between the callsPreloadStartandPreloadGenEnd. There's no way to get this value with the API.Does not clear the buffer or timer after flushing. The file is overwritten. It's possible to specify subfolders: "myMapFolder/file.txt". Reforged: Any other tricks such as relative paths, UNC or drive letters will not write any files. Classic: possible to write to any path (verify?)
*Example preload file: