Frictional Games Forum (read-only)

Full Version: firstkey is not defined
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am working on my first custom story, and the basis of the first area is you need a key to get through a door. the key is called firstkey and the door is called firstdoor and I followed this tutorial; http://www.youtube.com/watch?v=T4k5ILstU...ure=relmfu

Basically, when I try to run the custom story it doesn't have a description even though I have made a description for it in the extra_english.lang file and when I try and run it amnesia closes saying firstkey is not defined.

I checked the lang file with a tool from the HPL editor wiki and it said there were no errors, any help please?
I'm assuming that you don't have firstkey in quotation marks.
Without the quotation marks, the compiler reads firstkey as a variable that was not declared earlier in the script, as opposed to the string "firstkey".