NML:If
From GRFSpecs
Jump to navigationJump to searchif (expression) { block; } else { block; }
For example:
if (param[1] == 1) { param[2] = 3 } else { param[2] = 5 }
if (expression) { block; } else { block; }
For example:
if (param[1] == 1) { param[2] = 3 } else { param[2] = 5 }