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
Unexpected end of file problem, Need help NOW!
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Unexpected end of file problem, Need help NOW!

(09-18-2015, 12:08 PM)JohnS0N Wrote: AddUseItemCallback("", "Doorkey1", "Roomdoor1", "UsedKeyOnDoor" true);
You forgot a comma between "UsedKeyOnDoor" and true

(09-18-2015, 12:08 PM)JohnS0N Wrote: PlaySoundAtEntity("", ""unlock_door", "Roomdoor1", 0, false);
You have too many quotation signs. Remember that the number of quotation signs should always be even. In this line you have 7.

(09-18-2015, 12:08 PM)JohnS0N Wrote: PlayMusic("Level1Theme.ogg", true, 0.8, 2, 1, true);
Remember to put an f after decimals. You have to, because Amnesia uses floats.


Unexpected end of file usually means you have an uneven number of "quotation marks", (parenthesizes) or {brackets}.

Trying is the first step to success.
(This post was last modified: 09-18-2015, 01:16 PM by FlawlessHappiness.)
09-18-2015, 12:46 PM
Find


Messages In This Thread
RE: Unexpected end of file problem, Need help NOW! - by FlawlessHappiness - 09-18-2015, 12:46 PM



Users browsing this thread: 1 Guest(s)