VERSION

From 3DGE Wiki
Jump to: navigation, search

#VERSION

Description:
This entry specifies the version of 3DGE that the RTS is for. It should be at the top of your script, but below #CLEAR_ALL (if used).

It's intended to keep users from running your script if they have an older version of 3DGE, and hence an older version of the RTS parser which may be incompatible with your script.

Example:

  #VERSION 1.36


This directive is in-use for 3DGE v2.0.1, as it will not detect any VERSION string lower than EDGE 1.31 and segfault. To load mods not designed for EDGE 1.31 and up, change the directive, but note that this is unsupported.