Page 1 of 1

NML tutorial buggy?

Posted: 09 Feb 2023 18:25
by MagicBuzz
Hello,
I'm trying to create a new GRF, and I'm discovering the NML language.

I tried to compile the NML tutorial code, and I get an error :

Code: Select all

nmlc ERROR: "mytrain.nml", line 214: Unknown property name: shorten_vehicle
I tried to find in the available variables if I can see a deprecated variable named shorten_vehicle or some variable with a similar name, but I can't.

Am I doing something wrong?

When I comment this line it compiles correctly... but as a programmer I don't like commenting things I don't understand...

Re: NML tutorial buggy?

Posted: 09 Feb 2023 19:00
by jfs
Which version of NML are you using?

Re: NML tutorial buggy?

Posted: 09 Feb 2023 19:08
by MagicBuzz