+ Reply to Thread
Results 1 to 7 of 7

Thread: Cutscene script problem

  1. #1

    Cutscene script problem

    I keep getting this error when I try compiling my cutscene script in sapien.

    This is what the error looks like:

    Code:
    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 cutscene
    My script:

    Code:
    ((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?

    Reply With Quote

  2. #2

    Re: Cutscene script problem

    Looks to me like you're missing a right parenthesis somewhere, but I'm no coding guy.
    Reply With Quote

  3. #3

    Re: Cutscene script problem

    It tells you in the error.
    Code:
    02.07.10 21:58:14  this left parenthesis is unmatched.: (script startup cutscene
    means that you're missing a ")" to match "(script startup"
    Reply With Quote

  4. #4

    Re: Cutscene script problem

    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.
    Reply With Quote

  5. #5

    Re: Cutscene script problem

    Code:
    (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

    Reply With Quote

  6. #6
    Banned
    Join Date
    Aug 2007
    Location
    In a Place
    Posts
    5,130
    Blog Entries
    1
    Inferno is on a distinguished road

    Re: Cutscene script problem

    ((script startup cutscene

    Lol.
    Reply With Quote

  7. #7

    Re: Cutscene script problem

    yay!

    Reply With Quote

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts