An Unknown Value Error is generated during script compilation when the compiler comes across a value it can't recognize as any of the following:
A variable,
A map entity preceded by the $ operator.
Error
ERROR: [mapname]([linenumber]): Unknown value "[bad value]"
ERROR: file maps/fail.script, line 42: Unknown value "door_100"
Tips to avoid
- Make sure you preclude all map entities with a $ symbol.
Define your variables before using them.
- Check for simple spelling errors, and try to avoid easily misspellable variable names.
1
2 float myReallyAwesomeNumberValue;
3
4 //you lose.
5 myReallyAwesmeNumberValue = 100;
6