From 3DGE Wiki
Jump to: navigation, search


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 3DGE 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:

Note that the # character is not included here because of Wiki formatting rules!


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


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


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