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 »Stupid script

Author Topic: Stupid script (1 messages, Page 1 of 1)
Moderators: Dennis

Kustrin 117
Joined: Aug 6, 2009

\


Posted: Dec 31, 2009 09:12 AM    Msg. 1 of 1       
I made a script. It's for a SP map. But it doesn't work.
My SP map name is wizardtest.map.
This is what my script should do:Place delimeter AI sqauds and display and objective when the trigger is activated, and place a sqaud of marines and an another objective after all delimeters are all dead. After the marines are all dead, the game should end.

The problem is, when I start this map, the delimeter sqauds dosen't spawn, and when I use the console in HaloCEDev to spawn it, it spawns. And the objectives doesn't show in the HUD.

Someone help me please!??!?!>!?>

Here is the script:
(script dormant hud_obj_kdlmtrs
(game_save_totally_unsafe)
(show_hud_help_text 1)
(hud_set_help_text obj_kdlmtrs)
(hud_set_objective_text obj_kdlmtrs)
(sleep 300)
(show_hud_help_text 0)
)
(script dormant hud_obj_kmrins
(game_save_totally_unsafe)
(show_hud_help_text 1)
(hud_set_help_text obj_kmrins)
(hud_set_objective_text obj_kmrins)
(sleep 300)
(show_hud_help_text 0)
)
(script startup wzrdtst
(sleep 31)
(cinematic_set_title welcome)
(sleep 150)
(cinematic_show_letterbox 0)(show_hud 1)
(sleep_until (volume_test_objects trigger_ai (players)) 15)
(wake hud_obj_kdlmtrs)(ai_place delimeter1)
(sleep_until (= (ai_living_count delimeter1) 0) 15)
(game_save_no_timeout)
(sleep 90)
(wake hud_obj_kmrins)
(sleep 30)
(ai_place lstmrins)
(sleep_until (= (ai_living_count lstmrins) 0) 15)
(cinematic_set_title you won)(show_hud 0)
(sleep 150)
(cinematic_show_letterbox 0)(show_hud 1)
(sleep 45)
(game_won)
)


Notes:I triple checked the scripts and the trigger, sqauds name.
The trigger placed in the center of the map, where the flamethrower spawns.
The map is based on Wizard(duh)
The player spawn points are on the center of the map(Same as the trigger)
The player spawn points and the trigger is overlapped with each other.

If someone knows what is wrong with this script, please tell me how to solve the problem.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 7:14 AM 125 ms.
A Halo Maps Website