NML:Parameter assignment
From GRFSpecs
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Vehicles, Stations, Canals, Bridges, Towns, Houses, Industries (Tiles), Cargos, Airports+Tiles, Objects, Railtypes, Roadtypes, Tramtypes, Terrain
param[<expression>] = <expression>;
Set a parameter to the given expression. Neither of the two expressions has to be constant, the following is perfectly valid:
param[param[2] + 1] = param[3] * param[4];