Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
firstkey is not defined
liamthespy Offline
Junior Member

Posts: 26
Threads: 10
Joined: Jun 2012
Reputation: 0
#1
firstkey is not defined

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?
06-16-2012, 08:50 PM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: firstkey is not defined

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".

06-16-2012, 11:09 PM
Find




Users browsing this thread: 1 Guest(s)