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
Script Help Fatal Error : ERR : Unexpected token '{'
Clear Offline
Junior Member

Posts: 19
Threads: 4
Joined: May 2012
Reputation: 0
#5
RE: Fatal Error : ERR : Unexpected token '{'

(05-24-2012, 01:05 PM)Stepper321 Wrote:
(05-24-2012, 01:01 PM)Clear Wrote:
(05-24-2012, 12:56 PM)Stepper321 Wrote: Check it yourself!

14 is the line and 1 is the location in that line.


{
AddEntityCollideCallback("Player", "script_slam", "func_slam", true, 1);
}


Theres no void etc...

Soory if the problem is way obvious than i expected but i'm new at scripting and making custom stories in amnesia, can you please explain me how to fix it?
Like, where to put the void and such.
Thanks! Smile
First i need to know WHEN you want to enable that part of the script.
http://gyazo.com/c66a95e14f81787915194e1c29bc7208

My goal is to make the door slam as soon as i walk infront of the area, i have a key & door script on the top and the script with error, the slam script, if that's what you wanted to know
05-24-2012, 01:10 PM
Find


Messages In This Thread
RE: Fatal Error : ERR : Unexpected token '{' - by Clear - 05-24-2012, 01:10 PM



Users browsing this thread: 1 Guest(s)