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 Technical / Map Design »need a Fix

Author Topic: need a Fix (3 messages, Page 1 of 1)
Moderators: Dennis

xXKrenof EVILXx
Joined: Sep 15, 2008

I choose what I like.


Posted: May 8, 2011 11:36 PM    Msg. 1 of 3       
I am having a problem with this script I am using.

Can any one help?

This Is a dormant script for those that play on ledgendary and if not it by-passes this piticular cutscene and fight sceen all together.



(script dormant legend
(if (game_difficulty_get legendary)
(sleep 300)
(sound_looping_start sound\music\reach\both_ways\both_ways none 1)
(camera_control 1)
(cinematic_start)
(cinematic_show_letterbox 1)
(camera_set cam6 100)
(sleep 60)
(camera_set cam7 100)
(sleep 60)
(camera_set cam8 100)
(sleep 60)
(camera_set cam9 100)
(sleep 60)
(camera_set cam10 100)
(sleep 60)
(camera_control 0)
(cinematic_stop)
(game_save)
(ai_place trueboss)
(sleep 90)
(sleep_until (= (ai_living_count trueboss) 0) 15)
(game_won)
(if (game_difficulty_get hard)
(game_won)
(if (game_difficulty_get normal)
(game_won)
(if (game_difficulty_get easy)
(game_won)
)

It says "This left perenthis is unmatched.:(if (game_difficulty_get hard)
recompiling after senerios were merged".


I think I did the if's wrong or something close to it can some one tell me what I did wrong here.
Edited by xXKrenof EVILXx on May 8, 2011 at 11:58 PM


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: May 9, 2011 01:17 AM    Msg. 2 of 3       
I'm no expert scripter, just a beginner. But I think I fixed that error. Add an extra parenthesis at the end of that command so it looks like:

(script dormant legend
(if (game_difficulty_get legendary))
(sleep 300)

That should fix that one error. But there could be others.


xXKrenof EVILXx
Joined: Sep 15, 2008

I choose what I like.


Posted: May 10, 2011 11:52 PM    Msg. 3 of 3       
thanks you two ill give both a try and let you know if they work.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 6:02 AM 140 ms.
A Halo Maps Website