
Nametaker40
Joined: Sep 1, 2009
|
Posted: Feb 22, 2010 09:32 PM
Msg. 1 of 8
I'm following a tutorial to make a cutscene even better, but I ran into this error 02.22.10 21:25:10 i expected a script or variable definition.: ÿþ( 02.22.10 21:25:10 recompiling scripts after scenarios were merged. 02.22.10 21:25:10 i expected a script or variable definition.: ÿþ(
And here is my script: (script startup liftcutscene (begin (sleep_until (volume_test_objects lift (players)) 5) (fade_out 1 1 1 30) (player_enable_input 0) (sleep 60) (volume_teleport_players_not_inside lift hideplayers) (cinematic_start) (cinematic_show_letterbox 1) (object_create_anew elite) (camera_control 1) (camera_set d1 0) (sleep 30) (fade_in 1 1 1 30) (ai_attach elite lift) (ai_command_list_by_unit elite lift) (sleep 90) (camera_set d2 80) (sleep 60) (camera_set d3 80) (ai_command_list_advance_by_unit elite) (sleep 60) (camera_set d4 80) (sleep 60) (ai_command_list_advance_by_unit elite) (sleep 60) (fade_out 1 1 1 30) (sleep 30) (object_destroy elite) (camera_control 0) (volume_teleport_players_not_inside lift showplayers) (cinematic_show_letterbox 0) (cinematic_stop) (sleep 30) (fade_in 1 1 1 30) (player_enable_input 1) ) ) What did I do wrong?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 23, 2010 06:50 PM
Msg. 2 of 8
a) Remove the (begin at the beginning, and the closing parentheses at the end. It may cause problems later on. b) You seem to have used the same name for the command list and the AI encounter. Rename one of them so they aren't the same.
|
|
|

Nametaker40
Joined: Sep 1, 2009
|
Posted: Feb 23, 2010 09:29 PM
Msg. 3 of 8
Hey, thanks! Also, is there a script command that will only continue if all the ai in an encounter are dead?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 23, 2010 09:42 PM
Msg. 4 of 8
(sleep_until (= (ai_living_count [AI ENCOUNTER]) 0) 15)
|
|
|

Nametaker40
Joined: Sep 1, 2009
|
Posted: Feb 24, 2010 03:00 PM
Msg. 5 of 8
Thanks again! You're my new best friend. 
|
|
|

deathraider555
Joined: Jul 16, 2008
Blood is that which ties me to my devils.
|
Posted: Feb 26, 2010 03:34 AM
Msg. 6 of 8
Gamma927 is everyones best friend! When it comes to halo, he's the intelligable one!!
|
|
|

Dwood
Joined: Oct 23, 2007
Judge Ye Therefore
|
Posted: Feb 26, 2010 04:06 PM
Msg. 7 of 8
Quote: --- Original message by: deathraider555 Gamma927 is everyones best friend! When it comes to halo, he's the intelligable one!! And this is why I do not envy him.
|
|
|

deathraider555
Joined: Jul 16, 2008
Blood is that which ties me to my devils.
|
Posted: Feb 26, 2010 08:13 PM
Msg. 8 of 8
Sometimes you just have to be random to get through the day!
|
|
|