Preload

Parameters
filename string

The string to be added to the buffer. Should probably not be named filename.

comment

Adds a string to the preload buffer.

note

Also see the documentation for Preloader for more info on the generated files.

note

The data will be put into the file like this:

call Preload("<data here>")

So to put any executable code in the file you have to close the string and then put your code onto a new line, like this:

call Preload("\") \n call your_stuff_here()")
return type
nothing
Source code
native Preload          takes string filename returns nothing
Source
misc.j
wc3modding.com
Preload