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
How to fix the error
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: How to fix the error

Your age doesnt tell us anything about how noob you are Wink

Unexpected end of file, means you have missed to close these "" or () or { }

Is this you full scripts? I don't think it is since you don't have an OnEnter() and OnLeave()

Could you post the whole scripts.. Nothing looks wrong with your script here except:

PlaySoundAtEntity("", "unlock_door.snt", "unlock", 0, false); did you call your door "unlock"? if not, then this should be changed to the door name

And you might want to put this into void OnStart()

AddUseItemCallback("", "Key", "unlock", "unlockdoor", true); The "unlock" is your doorname. If this is not your doorname, change it.

Trying is the first step to success.
(This post was last modified: 10-23-2012, 01:30 PM by FlawlessHappiness.)
10-23-2012, 01:27 PM
Find


Messages In This Thread
How to fix the error - by Josh9810 - 10-23-2012, 01:16 PM
RE: How to fix the error - by FlawlessHappiness - 10-23-2012, 01:27 PM
RE: How to fix the error - by GrAVit - 10-23-2012, 04:12 PM
RE: How to fix the error - by FlawlessHappiness - 10-23-2012, 04:35 PM
RE: How to fix the error - by ZodiaC - 10-23-2012, 05:43 PM
RE: How to fix the error - by FlawlessHappiness - 10-23-2012, 06:34 PM
RE: How to fix the error - by Josh9810 - 10-24-2012, 04:13 AM
RE: How to fix the error - by The chaser - 10-24-2012, 06:36 AM
RE: How to fix the error - by Josh9810 - 10-24-2012, 07:31 AM
RE: How to fix the error - by The chaser - 10-24-2012, 09:13 AM
RE: How to fix the error - by Josh9810 - 10-24-2012, 09:22 AM
RE: How to fix the error - by The chaser - 10-24-2012, 09:41 AM
RE: How to fix the error - by ZodiaC - 10-24-2012, 11:28 AM
RE: How to fix the error - by Josh9810 - 10-25-2012, 05:35 AM
RE: How to fix the error - by Ongka - 10-25-2012, 06:59 AM
RE: How to fix the error - by ZodiaC - 10-23-2012, 06:54 PM
RE: How to fix the error - by Robby - 10-23-2012, 06:56 PM
RE: How to fix the error - by FlawlessHappiness - 10-24-2012, 07:02 AM
RE: How to fix the error - by FlawlessHappiness - 10-24-2012, 09:50 AM
RE: How to fix the error - by Ongka - 10-24-2012, 01:11 PM
RE: How to fix the error - by ZodiaC - 10-24-2012, 02:05 PM
RE: How to fix the error - by Ongka - 10-24-2012, 04:39 PM
RE: How to fix the error - by FlawlessHappiness - 10-25-2012, 06:59 AM
RE: How to fix the error - by Josh9810 - 10-25-2012, 07:53 AM
RE: How to fix the error - by Ongka - 10-25-2012, 08:19 AM
RE: How to fix the error - by Josh9810 - 10-26-2012, 05:51 AM
RE: How to fix the error - by Josh9810 - 10-26-2012, 07:41 AM



Users browsing this thread: 3 Guest(s)