
CallumT
Joined: Jan 14, 2009
|
Posted: Apr 9, 2009 09:23 AM
Msg. 1 of 8
i am making a single player map but when i try to compile scripts it says left parenthesis is unmatched. This comes up in debug.txt
04.09.09 14:22:05 recompiling scripts after scenarios were merged. 04.09.09 14:22:05 this left parenthesis is unmatched.: (script dormant spawn_3rd_survivors 04.09.09 14:22:06 local player 0, weapon (0x0), deleted unexpectedly 04.09.09 14:22:14 [single_player line 54] this left parenthesis is unmatched.: (script dormant spawn_3rd_survivors 04.09.09 14:22:14 recompiling scripts after scenarios were merged. 04.09.09 14:22:14 this left parenthesis is unmatched.: (script dormant spawn_3rd_survivors
how can i fix this problem Edited by CallumT on Apr 9, 2009 at 10:05 AM
|
|
|

Sabre
Joined: Dec 10, 2008
I joined RB in protecting Donut's avatar.
|
Posted: Apr 9, 2009 11:09 AM
Msg. 2 of 8
Quote: --- Original message by: CallumT
i am making a single player map but when i try to compile scripts it says left parenthesis is unmatched. This comes up in debug.txt
04.09.09 14:22:05 recompiling scripts after scenarios were merged. 04.09.09 14:22:05 this left parenthesis is unmatched.: (script dormant spawn_3rd_survivors 04.09.09 14:22:06 local player 0, weapon (0x0), deleted unexpectedly 04.09.09 14:22:14 [single_player line 54] this left parenthesis is unmatched.: (script dormant spawn_3rd_survivors 04.09.09 14:22:14 recompiling scripts after scenarios were merged. 04.09.09 14:22:14 this left parenthesis is unmatched.: (script dormant spawn_3rd_survivors
how can i fix this problem Edited by CallumT on Apr 9, 2009 at 10:05 AM First, show us your script, or, to be faster, go to line 54 in your script, and add a ( or ) to it. You forgot to add those on that line.
|
|
|

Megaguirus
Joined: Feb 26, 2009
Om nom nom
|
Posted: Apr 9, 2009 11:45 AM
Msg. 3 of 8
i don't exactly see the point of quoting his post. anyway go to your script spawn_3rd_survivors then add a ) at the end of that script.
|
|
|

CallumT
Joined: Jan 14, 2009
|
Posted: Apr 9, 2009 12:39 PM
Msg. 4 of 8
Thanks that works now however it is now saying: line 1] i expected (script ): (script startup allys) 04.09.09 17:33:40 recompiling scripts after scenarios were merged. 04.09.09 17:33:40 i expected (script ): (script startup allys) The script was: (script startup allys) (ai_allegiance "human" "player")
|
|
|

Megaguirus
Joined: Feb 26, 2009
Om nom nom
|
Posted: Apr 9, 2009 12:42 PM
Msg. 5 of 8
Quote: (script startup allys (ai_allegiance "human" "player") ) ftfy
|
|
|

CallumT
Joined: Jan 14, 2009
|
Posted: Apr 9, 2009 02:48 PM
Msg. 6 of 8
ftfy has 2 definitions plz explain
|
|
|

RougeSpartan414
Joined: Sep 24, 2007
Angatar, the Iron-Father.
|
Posted: Apr 9, 2009 03:11 PM
Msg. 7 of 8
He fixed it for you. Quote: (script startup allys (ai_allegiance "human" "player") ) Quote: (script startup allys (ai_allegiance "human" "player") The top one is the fixed one, the bottom is yours.
|
|
|

CallumT
Joined: Jan 14, 2009
|
Posted: Apr 9, 2009 03:13 PM
Msg. 8 of 8
thanks much appreciated
|
|
|