Editor
Troubleshooting

0039: Invalid element definition

The compiler can't read a mission or external script definition in the header. It may happen if either an id or label is missing or invalid.

Possible solutions: fix the definition:

DEFINE MISSION "0" at @label // error, integer id expected
DEFINE MISSION 0 at @label // OK