turf
road
icon = 'road.dmi'
That's what I have to define an icon called 'road.dmi' as a turf, with the name road. When I attempt to compile my file (hey, it rhymes!) I get this error message.
Competition 1000.dm:22:error: bad argument definition
When I double click the error, I am pointed to the word "turf," which is located at the same spot in the code as shown above. I've worked with that particular block of code before, even in this same enviroment, and this is the first time it's given me trouble. I even did the research, and still know clue what's wrong.
ID:149135
![]() Jun 28 2002, 11:38 pm
|
|
![]() Jun 28 2002, 11:40 pm
|
|
I forget exactly why this would happen, but I think you have an unclosed if() statement on the line before. I can't remember what gives this error at 2:45 in the morning, but it's some problem with the line of code before it.
|