A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Scripting Errors

Author Topic: Scripting Errors (6 messages, Page 1 of 1)
Moderators: Dennis

ThePlague
Joined: Dec 16, 2007

Steam: jubalearlybh


Posted: Nov 13, 2008 06:25 PM    Msg. 1 of 6       
Okay, so I am trying to make a SP map, and right now I am attempting to make a script to change to another BSP when I enter a Trigger Volume.

Here's the error i'm getting from Sapien when trying to compile the scripts:
11.13.08 16:17:54  recompiling scripts after scenarios were merged.
11.13.08 16:17:54 this left parenthesis is unmatched.: (scrpit startup bsp_change_1

11.13.08 16:17:54 local player 0, weapon (0x0), deleted unexpectedly
11.13.08 16:18:21 [bsp_change_1 line 1] i expected "script" or "global".: scrpit startup bsp_change_1)

11.13.08 16:18:21 recompiling scripts after scenarios were merged.
11.13.08 16:18:21 i expected "script" or "global".: scrpit startup bsp_change_1)

11.13.08 16:18:28 [bsp_change_1 line 1] i expected "script" or "global".: scrpit startup bsp_change_1)

11.13.08 16:18:28 recompiling scripts after scenarios were merged.
11.13.08 16:18:28 i expected "script" or "global".: scrpit startup bsp_change_1)

11.13.08 16:18:41 [bsp_change_1 line 1] i expected "script" or "global".: scrpit startup bsp_change_1

11.13.08 16:18:41 recompiling scripts after scenarios were merged.
11.13.08 16:18:41 this left parenthesis is unmatched.: (scrpit startup bsp_change_1

11.13.08 16:19:03 [bsp_change_1 line 1] i expected "script" or "global".: scrpit startup bsp_change_1)

11.13.08 16:19:03 recompiling scripts after scenarios were merged.
11.13.08 16:19:03 i expected "script" or "global".: scrpit startup bsp_change_1)

11.13.08 16:19:48 [bsp_change_1 line 1] i expected "script" or "global".: scrpit startup bsp_change_1

11.13.08 16:19:48 recompiling scripts after scenarios were merged.
11.13.08 16:19:48 this left parenthesis is unmatched.: (scrpit startup bsp_change_1

11.13.08 16:20:52 [bsp_change1 line 1] i expected "script" or "global".: scrpit startup bsp_change1

11.13.08 16:20:52 recompiling scripts after scenarios were merged.
11.13.08 16:20:52 this left parenthesis is unmatched.: (scrpit startup bsp_change1


And here is the script I made to change BSPs

(scrpit startup bsp_change1
(begin
(sleep_until (volume_test_objects bsp1 (players)) 15)
(switch_bsp 1)
)
)


I have the trigger volume set up and named "bsp1", and the script is named "bsp_change1."

If anyone could help me, it would be greatly appreciated.


H Guru
Joined: Oct 15, 2006

EHSv3 Coming Soon!


Posted: Nov 13, 2008 06:33 PM    Msg. 2 of 6       
If I remember correctly all you have to do is name the trigger volume is "bsp 0,1". Try it


ThePlague
Joined: Dec 16, 2007

Steam: jubalearlybh


Posted: Nov 13, 2008 06:36 PM    Msg. 3 of 6       
Quote: --- Original message by: H Guru
If I remember correctly all you have to do is name the trigger volume is "bsp 0,1". Try it
So take out the script and try it then?


H Guru
Joined: Oct 15, 2006

EHSv3 Coming Soon!


Posted: Nov 13, 2008 06:37 PM    Msg. 4 of 6       
Yes.


gruntfromhalo
Joined: Nov 21, 2007

actual loli


Posted: Nov 13, 2008 06:45 PM    Msg. 5 of 6       
Found your problem: You spelled "script" wrong.


ThePlague
Joined: Dec 16, 2007

Steam: jubalearlybh


Posted: Nov 13, 2008 06:47 PM    Msg. 6 of 6       
It worked, thanks for your help Guru.

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 1:19 AM 141 ms.
A Halo Maps Website