NML:Deactivate other NewGRFs: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
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, Roadstops, Canals, Towns, Houses, Industries (Tiles), Cargos, Airports+Tiles, Objects, Railtypes, Roadtypes, Tramtypes, Bridges, Badges, 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.