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 »Having trouble deactivating way points.

Author Topic: Having trouble deactivating way points. (2 messages, Page 1 of 1)
Moderators: Dennis

Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: May 8, 2011 01:17 PM    Msg. 1 of 2       
Hey all,

I've been having trouble deactivating way points. The problem is that when I enter a trigger volume the way point should disappear. The trigger volume is called "computer." Here is the entire script. The bold is what's not working.
_____________________________________________________________________________
(global boolean beach_c_placed false)

(global boolean structure_placed false)

(script startup cut
(begin
(camera_control 1)
(camera_set cut1 100)
(sleep 150)
(camera_control 0)
)
)

(script startup cut1
(sleep_until (= (device_get_position door) 1) 30)
(begin
(camera_control 1)
(camera_set cut2 100)
(sleep 75)
(camera_set cut3 100)
(sleep 75)
(camera_set cut4 100)
(sleep 150)
(camera_control 0)
(show_hud_help_text true)
(hud_set_objective_text obj6)
(hud_set_help_text obj6)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
)
)

(script startup cut2
(sleep_until (= (device_get_position flood) 1) 30)
(begin
(camera_control 1)
(camera_set cut5 100)
(sleep 75)
(camera_set cut6 100)
(sleep 75)
(camera_set cut7 100)
(sleep 75)
(camera_set cut8 100)
(sleep 150)
(camera_control 0)
(ai_place flood_1)
(show_hud_help_text true)
(hud_set_objective_text obj8)
(hud_set_help_text obj8)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
)
)

(script startup scriptname
(sleep_until (volume_test_objects start (players)) 15)
(show_hud_help_text true)
(hud_set_objective_text obj1)
(hud_set_help_text obj1)
(sleep 150)
(show_hud_help_text false)
)

(script startup scriptname1
(sleep_until (volume_test_objects beach (players)) 15)
(show_hud_help_text true)
(hud_set_objective_text obj2)
(hud_set_help_text obj2)
(sleep 150)
(show_hud_help_text false)
(ai_place beach_c)
(set beach_c_placed true)
(game_save_totally_unsafe)
)

(script startup scriptname2
(sleep_until beach_c_placed)
(sleep_until (= (ai_living_count beach_c) 0) 15)
(show_hud_help_text true)
(hud_set_objective_text obj3)
(hud_set_help_text obj3)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
(ai_place structure)
(set structure_placed true)
)

(script startup scriptname3
(sleep_until structure_placed)
(sleep_until (= (ai_living_count structure) 0) 15)
(show_hud_help_text true)
(hud_set_objective_text obj4)
(hud_set_help_text obj4)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
(activate_team_nav_point_object default player first 0.6)
)

(script startup scriptname4
(sleep_until (volume_test_objects computer (players)) 15)
(show_hud_help_text true)
(hud_set_objective_text obj5)
(hud_set_help_text obj5)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
(deactivate_team_nav_point_object default first)
)

(script startup basicsript
(sleep_until (volume_test_objects enter_check (players))15)
(ai_place top_c)
(game_save_no_timeout)
(sound_looping_start levels\c10\music\c10_06 none 1)
(sound_looping_set_scale levels\c10\music\c10_06 0.7)
)

(script startup basicsript1
(sleep_until (volume_test_objects mid_check (players))15)
(ai_place bottom_c)
(game_save_totally_unsafe)
(sound_looping_set_scale levels\c10\music\c10_06 0.4)
(sound_looping_stop levels\c10\music\c10_06)
)
_____________________________________________________________________________
I don't know what the problem could be. I'm going to assume that it has to do with that "global" stuff. But I can't be certain.

Thanks.
Edited by pepzee on May 8, 2011 at 01:18 PM
Edited by pepzee on May 8, 2011 at 01:19 PM


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: May 8, 2011 02:28 PM    Msg. 2 of 2       
I believe the command is this:

(deactivate_team_nav_point_flag "player" first)

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:24 AM 156 ms.
A Halo Maps Website