Difference between revisions of "NML:Deactivate other NewGRFs"

From GRFSpecs
Jump to navigationJump to search
(content of nml r1625)
(No difference)

Revision as of 11:37, 21 August 2011

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.