
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.
|

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.
|