NML:Deactivate other NewGRFs

From GRFSpecs
Revision as of 11:37, 21 August 2011 by FooBar (talk | contribs) (content of nml r1625)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
deactivate(<grfID>[[, <grfID2>], ...]);

With this statement, you can deactivate other NewGRFs. As parameters, you can supply any number of grfids (4-byte strings) to deactivate. Note that using this feature to block incompatible grfs is highly discouraged. Instead, disable your own grf with an error message via the error() statement.