Difference between revisions of "NML:Deactivate other NewGRFs"
From GRFSpecs
Jump to navigationJump to search|  (content of nml r1625) |  (add nav template) | ||
| Line 1: | Line 1: | ||
| + | {{NMLNavBlocksyntax}} | ||
| + | |||
|  deactivate(<grfID>[[, <grfID2>], ...]); |  deactivate(<grfID>[[, <grfID2>], ...]); | ||
Latest revision as of 16:34, 21 August 2011
Vehicles, Stations, Canals, Bridges, Towns, Houses, Industries (Tiles), Cargos, Airports+Tiles, Objects, Railtypes, Roadtypes, Tramtypes, Roadstops, Terrain
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.
