Difference between revisions of "NML:Deprecated syntax"
From GRFSpecs
Jump to navigationJump to searchPlanetmaker (talk | contribs) (explain the numeric parameter access briefly) |
(No difference)
|
Revision as of 11:42, 14 September 2011
Direct variable access
NML allows a syntax to directly access (unnamed) variables by their NewGRF number:
value = param[<num>, <bit>, <mask>, <param>]
where <num> is the variable number, <bit> is the the first bit read from that variable, <mask> is a mask applied to the variable and <param> is only present for those variables which require a parameter.