Directives

Directives are lines which begin with a '#' character, immediately followed by the directive name. These are used to specify something very special about the script, e.g. the EDGE version which the script needs.

Directives should be placed at the beginning of your scripts, before everything else (e.g. start_map). It is OK though to have comments before the directives.

List of commands

#CLEAR_ALL
Clears all previous scripts that might mess up the current one.

#VERSION
The version of EDGE that the RTS is for, e.g. "#VERSION 1.29".

#DEFINE
This is used to define values to use globally in your script.