This shows you the differences between two versions of the page.
| — | ded:include [2017-03-16 07:23] (current) – skyjake | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Include directive ====== | ||
| + | |||
| + | ===== Syntax ===== | ||
| + | |||
| + | Include " | ||
| + | | ||
| + | IncludeIf [Not] -option|gamemode " | ||
| + | |||
| + | The Include directive causes the parser to read the specified DED file. The contents of the included file are read immediately after the directive has been parsed. | ||
| + | |||
| + | |||
| + | ===== Examples ===== | ||
| + | |||
| + | Include " | ||
| + | |||
| + | Include if the command line option '' | ||
| + | IncludeIf Not -texcomp " | ||
| + | |||
| + | Include if the ID of the current game matches '' | ||
| + | IncludeIf doom1-ultimate " | ||
| + | |||