didymus
May 20th, 2011, 03:03 PM
Okay so my script is posted below. I am really confused why this isn't working.
(script continuous COUNTDOWN_ZERO
(begin
(if (and (numeric_countdown_timer_get 10) true)
(object_create mp_warthog ))
)
)
Okay so the *COUNTDOWN_ZERO* SCRIPT should execute as such
1. when countdown timer reaches 10 seconds
2. spawn warthog
**LATER on when my script is more developed I will make it to where certain team members (such as red team or blue team) can activate or deactivate the timers.
Problem: The warthog is automatically spawned at the beginning of the game.
--I MADE SURE that-- In Sapien that the banshee doesn't spawn under any game time.
The game is thinking that the warthog is spawned at beginning however it is supposed to be spawned when 10 seconds are left from countdown timer.
So what am I doing wrong?
(script continuous COUNTDOWN_ZERO
(begin
(if (and (numeric_countdown_timer_get 10) true)
(object_create mp_warthog ))
)
)
Okay so the *COUNTDOWN_ZERO* SCRIPT should execute as such
1. when countdown timer reaches 10 seconds
2. spawn warthog
**LATER on when my script is more developed I will make it to where certain team members (such as red team or blue team) can activate or deactivate the timers.
Problem: The warthog is automatically spawned at the beginning of the game.
--I MADE SURE that-- In Sapien that the banshee doesn't spawn under any game time.
The game is thinking that the warthog is spawned at beginning however it is supposed to be spawned when 10 seconds are left from countdown timer.
So what am I doing wrong?