include "filename";
Reads an additional script from the given file and then continues scanning the original script file. This way pre-defined scripts can be inserted.
Remarks:
-
C-Script only; for lite-C use #include.
- Up to 40 files can be included when generating the game by PUBLISH. The number of INCLUDEs is not restricted when generating the game by RESOURCE.
- Script names must not be longer than 15 characters and must not
contain spaces or nonstandard characters.
Examples
include "movement.wdl"; // Movement functions
include "venture.wdl"; // include Venture Script
See also:
BIND, LEVEL, PATH, RESOURCE,
► latest
version online