Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
(10-21-2011, 08:13 PM)Homicide13 Wrote: Is the name of the piano in the world editor "Piano"? I believe it defaults to "piano_01" when you first place it.Well, Yea. I Rename it and that really doese... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-26-2011, 10:34 PM |
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
(10-21-2011, 07:27 AM)jens Wrote: You are probably looking to have the script like this, but chances are it does not work.
PHP Code://////////////////////////////////////////////////////////////////... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-21-2011, 07:41 AM |
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
(10-20-2011, 07:48 PM)jens Wrote: You'll need some scripting/programing understanding, you are just jumping right in with no understanding of the basics. Perhaps reading this is a good starting plac... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-20-2011, 09:36 PM |
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
(10-20-2011, 07:10 PM)Your Computer Wrote: Yeah, this is the part that is causing the issue:
PHP Code:{ AddUseItemCallback("", "Key_1", "Door_1", "UsedKeyOnDoor", tru... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-20-2011, 07:32 PM |
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
Hm, so you are saying that there is something wrong with the Key-part?
It works perfect when I remove the "piano script", so it have to be something wrong with that one, or?
|
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-20-2011, 07:01 PM |
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
(10-20-2011, 05:44 PM)Your Computer Wrote: (10-20-2011, 05:39 PM)Wickedwrath Wrote: I tried to remove it, but it's still not working. Getting the same Error..
What was it that you removed?////////... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-20-2011, 05:51 PM |
|
|
Thread: ERR : Unexpected token '{'
Post: RE: ERR : Unexpected token '{'
(10-20-2011, 05:36 PM)Your Computer Wrote: In your case, you forgot to define a function properly. Do you see the section where it says "ALL THE KEYS!"? The code block below it is just hanging there... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-20-2011, 05:39 PM |
|
|
Thread: ERR : Unexpected token '{'
Post: ERR : Unexpected token '{'
Hello! I finally got my keys and "scary event" to work in my script, but when I added Elven's awesome piano scare-script I'm getting a error "ERR : Unexpected token '{'". Can someone explain what this... |
|
Wickedwrath |
Development Support
|
14 |
14,916 |
10-20-2011, 05:22 PM |
|
|
Thread: ERROR: Unexpected end of file
Post: RE: ERROR: Unexpected end of file
(10-19-2011, 03:36 PM)jens Wrote: Ah, that should be PlaySoundAtEntity not PlaySoundEntity!I tryed to change it, but then I got the error again (unexpected end of file).
The strange thing is, that w... |
|
Wickedwrath |
Development Support
|
8 |
11,450 |
10-19-2011, 03:40 PM |
|
|
Thread: ERROR: Unexpected end of file
Post: RE: ERROR: Unexpected end of file
(10-19-2011, 03:32 PM)jens Wrote: Can't see anything that would cause an unexpected end of file. usually it is a {} )( ;, " that is missing or incorrect positioned.Hm.. I solve it by removing:
Code... |
|
Wickedwrath |
Development Support
|
8 |
11,450 |
10-19-2011, 03:33 PM |
|
|
Thread: ERROR: Unexpected end of file
Post: RE: ERROR: Unexpected end of file
(10-19-2011, 03:10 PM)jens Wrote: PHP Code:////////////////////////////// Run first time starting mapvoid OnStart(){ AddUseItemCallback("", "Key_1",&nbs... |
|
Wickedwrath |
Development Support
|
8 |
11,450 |
10-19-2011, 03:18 PM |
|
|
Thread: ERROR: Unexpected end of file
Post: ERROR: Unexpected end of file
Hello! I need some help here with this script. It says "Unexpected end of file" and I just can't figure out what's wrong. Can anyone help and solve this, please?
Quote: ////////////////////////////
/... |
|
Wickedwrath |
Development Support
|
8 |
11,450 |
10-19-2011, 03:08 PM |
|
|
Thread: Piano Scare-script
Post: Piano Scare-script
Hello! I'm about new with Scripting, and wonder if there is possible by any chance to use the "Piano Scare-script" from the level "Archives" for example, or how to make one? As I said, I'm about new w... |
|
Wickedwrath |
Development Support
|
5 |
5,279 |
10-19-2011, 07:30 AM |