PDA

View Full Version : Cutscene script problem



hoppydoppy
February 7th, 2010, 04:03 AM
I keep getting this error when I try compiling my cutscene script in sapien.

This is what the error looks like:


02.07.10 21:58:14 [cutscene line 1] this left parenthesis is unmatched.: (script startup cutscene

02.07.10 21:58:14 recompiling scripts after scenarios were merged.
02.07.10 21:58:14 this left parenthesis is unmatched.: (script startup cutsceneMy script:


((script startup cutscene
(begin
(cinematic_start)
(camera_control 1)
(camera_set cut1 100)
(sleep 50)
(camera_set cut2 100)
(sleep 50)
(camera_set cut3 100)
(sleep 50)
(camera_set cut4 100)
(sleep 50)
(camera_set cut5 100)
(sleep 50)
(camera_set cut6 100)
(sleep 50)
(camera_set cut7 100)
(sleep 50)
(camera_set cut8 100)
(sleep 50)
(camera_set cut9 100)
(sleep 50)
(camera_set cut10 100)
(sleep 50)
(camera_set cut11 100)
(sleep 50)
(camera_set cut12 100)
(sleep 50)
(camera_set cut13 100)
(sleep 50)
(camera_set cut14 100)
(sleep 50)
(camera_set cut15 100)
(sleep 50)
(camera_set cut16 100)
(sleep 50)
(camera_set cut17 100)
(sleep 50)
(camera_set cut18 100)
(sleep 100
(camera_control 0)
(sleep 75)
(cinematic_stop)
)
)Does anyone know what that error means or what I should do?

Cortexian
February 7th, 2010, 05:12 AM
Looks to me like you're missing a right parenthesis somewhere, but I'm no coding guy.

Timo
February 7th, 2010, 05:24 AM
It tells you in the error.
02.07.10 21:58:14 this left parenthesis is unmatched.: (script startup cutscene means that you're missing a ")" to match "(script startup"

FireScythe
February 7th, 2010, 06:18 AM
You have two left parenthesis' at the top of your script "((script" there should only be one.

Also, i'm pretty sure you don't need to have everything in a begin statement.

E: and "(sleep 100" is missing a right parenthesis.

chrisk123999
February 7th, 2010, 09:39 AM
(script startup cutscene
(cinematic_start)
(camera_control 1)
(camera_set cut1 100)
(sleep 50)
(camera_set cut2 100)
(sleep 50)
(camera_set cut3 100)
(sleep 50)
(camera_set cut4 100)
(sleep 50)
(camera_set cut5 100)
(sleep 50)
(camera_set cut6 100)
(sleep 50)
(camera_set cut7 100)
(sleep 50)
(camera_set cut8 100)
(sleep 50)
(camera_set cut9 100)
(sleep 50)
(camera_set cut10 100)
(sleep 50)
(camera_set cut11 100)
(sleep 50)
(camera_set cut12 100)
(sleep 50)
(camera_set cut13 100)
(sleep 50)
(camera_set cut14 100)
(sleep 50)
(camera_set cut15 100)
(sleep 50)
(camera_set cut16 100)
(sleep 50)
(camera_set cut17 100)
(sleep 50)
(camera_set cut18 100)
(sleep 100)
(camera_control 0)
(sleep 75)
(cinematic_stop)
)

FTFY

Inferno
February 7th, 2010, 01:42 PM
((script startup cutscene

Lol.

hoppydoppy
February 7th, 2010, 11:52 PM
yay! :D