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 »um....vehicle help please?

Author Topic: um....vehicle help please? (3 messages, Page 1 of 1)
Moderators: Dennis

sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Jun 8, 2009 08:37 AM    Msg. 1 of 3       
i tried to put in a destroyable guass hog into gephyrophobia using sapien, and managed to succeed. however, when it got destroyed, it did not respawn. It only respawned if i pushed the undestroyed hog down the "pit", or if i moved it out of its original position.

here's my script....

(global boolean server 0)

(script startup vehicles
(if
(>= (unit_get_health host_check) 0)
(set server 1)
)
(if
(= server 1)
(begin
(object_create "hog1")
(object_create "hog2")
(object_create "hog3")
(object_create "hog4")
(object_create "host_check")
)
)
)

(script continuous respawn_stuff
(if
(= server 1)
(begin
(if
(volume_test_object "vehicle_spawn" "hog1")
(object_create_anew "hog1")
)
(if
(volume_test_object "vehicle_spawn" "hog2")
(object_create_anew "hog2")
)
(if
(volume_test_object "vehicle_spawn" "hog3")
(object_create_anew "hog3")
)
(if
(volume_test_object "vehicle_spawn" "hog4")
(object_create_anew "hog4")
)
(if
(volume_test_object "vehicle_spawn" "host_check")
(object_create_anew "host_check")
)

)
(sleep_until (= 0 1))
)
)

is there anything i can do to the script to correct this situation, or is there another way? If so, tell me how.

thx.


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Jun 8, 2009 08:46 AM    Msg. 2 of 3       
Which of the vehicles referenced in script is the guass hog?


sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Jun 8, 2009 08:50 AM    Msg. 3 of 3       
Quote: --- Original message by: Polamee
Which of the vehicles referenced in script is the guass hog?


um....sorry, i forgot to say this....

hog1, hog2, hog3 and hog4 are the guass hogs.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:45 PM 219 ms.
A Halo Maps Website