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 »Script help

Author Topic: Script help (8 messages, Page 1 of 1)
Moderators: Dennis

Kustrin 117
Joined: Aug 6, 2009

\


Posted: Jan 9, 2010 02:56 AM    Msg. 1 of 8       
Can someone tell me is this script is right???
(This script is in one file, not multiple files)
(script startup co_script
(show_hud 0)(fade_in 0.0 0.0 0.0 99)(cinematic_show_letterbox 1)
(sleep 30)
(show_hud 1)(cinematic_show_letterbox 0)
(sleep 10)
(ai_place holo1)(wake hud_obj_teleport)
(sleep_until (= (ai_living_count holo1) 0) 10)
(object_destroy a)(ai_place holo2)(game_save)
(sleep_until (= (ai_living_count holo2) 0) 10)
(ai_place holo3)(garbage_collect_now)(game_save_no_timeout)
(sleep_until (= (ai_living_count holo3) 0) 10)
(game_save)
(sleep_until (volume_test_objects end_trigger (players)) 10)
(sleep 30)
(game_won)
)


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 9, 2010 11:00 AM    Msg. 2 of 8       
Don't put more than one command on the same line. It's a pain for debugging, and quite frankly, I don't know if it compiles.


Kustrin 117
Joined: Aug 6, 2009

\


Posted: Jan 10, 2010 05:40 AM    Msg. 3 of 8       
Like where??


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 10, 2010 11:03 AM    Msg. 4 of 8       
Quote: --- Original message by: Kustrin 117
Can someone tell me is this script is right???
(This script is in one file, not multiple files)
(script startup co_script
(show_hud 0)(fade_in 0.0 0.0 0.0 99)(cinematic_show_letterbox 1)
(sleep 30)
(show_hud 1)(cinematic_show_letterbox 0)
(sleep 10)
(ai_place holo1)(wake hud_obj_teleport)

(sleep_until (= (ai_living_count holo1) 0) 10)
(object_destroy a)(ai_place holo2)(game_save)

(sleep_until (= (ai_living_count holo2) 0) 10)
(ai_place holo3)(garbage_collect_now)(game_save_no_timeout)

(sleep_until (= (ai_living_count holo3) 0) 10)
(game_save)
(sleep_until (volume_test_objects end_trigger (players)) 10)
(sleep 30)
(game_won)
)


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Jan 10, 2010 04:31 PM    Msg. 5 of 8       
I think it should, and as said before, skip lines. Make sure to use spaces, etc.
have you tried compiling in sapien yet?


Kustrin 117
Joined: Aug 6, 2009

\


Posted: Jan 10, 2010 09:48 PM    Msg. 6 of 8       
NO


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 10, 2010 11:35 PM    Msg. 7 of 8       
Protip: You could try compiling BEFORE posting for help.


Kustrin 117
Joined: Aug 6, 2009

\


Posted: Jan 10, 2010 11:54 PM    Msg. 8 of 8       
sry

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 6:36 PM 125 ms.
A Halo Maps Website