
SonicXtr3me
Joined: Jan 13, 2008
"Wake me when you need me"
|
Posted: Jul 30, 2008 09:48 AM
Msg. 1 of 3
I am having script problems with a patch for a level i am releasing soon , i have it set up exactly like the original scripts but i have multiple versions of those scripts scattered through out the level , and some of them work , and others dont , heres the scripts...
Original
(script continuous deathzone (sleep_until (= (volume_test_object teleport1 (unit (list_get (players) 0))) 1)) (unit_set_current_vitality (unit (list_get (players) 0)) 0 0) (sleep 60) (map_reset) )
Copy
(script continuous deathzone (sleep_until (= (volume_test_object teleport2 (unit (list_get (players) 0))) 1)) (unit_set_current_vitality (unit (list_get (players) 0)) 0 0) (sleep 60) (map_reset) )
Original
(script continuous speedboost2 (sleep_until (volume_test_objects trig_2 (players))1) ; Pauses script execution, and checks every 1/2 second to see if a player walks into the trigger "trig_1". (cinematic_screen_effect_start 1) ; Starts the effect (cinematic_screen_effect_set_convolution 1 2 30 0 0.5) ; Starts the effect for 10 seconds. )
Copy
(script continuous speedboost3 (sleep_until (volume_test_objects trig_3 (players))1) ; Pauses script execution, and checks every 1/2 second to see if a player walks into the trigger "trig_1". (cinematic_screen_effect_start 1) ; Starts the effect (cinematic_screen_effect_set_convolution 1 2 30 0 0.5) ; Starts the effect for 10 seconds. )
I need to know whats going on and how to fix this , because its annoying me that it wont work , when its practically the last thing needed for my map to be finished.
|

SonicXtr3me
Joined: Jan 13, 2008
"Wake me when you need me"
|
Posted: Jul 30, 2008 09:53 AM
Msg. 2 of 3
because if there was a 2 it would be the same script and a script with the same name as the other wont work if its a seperate volume
|

SonicXtr3me
Joined: Jan 13, 2008
"Wake me when you need me"
|
Posted: Jul 30, 2008 10:07 AM
Msg. 3 of 3
That wont work either , because 1 is the parenthesis that starts the script that was obvious from the start.
|