xDeliverancex
19 years ago
How would I script a Fire storm so it Continuesily burn through out the game?
UserPostedImage
Sponsor
fleetatks
19 years ago
Place a waypoint and make a script that spawns firestormBig or something close to that under system After a timer expires and have the script set the timer to go off again so it will keep going.
Email me if you ever need help (edited signature November 6th, 2014)
xDeliverancex
19 years ago
ah. Thanks :D

Hmmmm... I cant seem to make a timer...-Blah!-
UserPostedImage
renaissance
19 years ago
I know you're a relatively experienced mapper but check the scripts section of the tutorial:
http://www.cncgeneralsworld.com/generals/zerohour/worldbuilder/tutorials/basictutorial/#simpleScripts 
UserPostedImage
xDeliverancex
19 years ago
EDIT: How do I reste the timer?

I have this, but its not working:

*** IF ***
True.
*** THEN ***
Set timer 'Timer1' to expire in 5.00 seconds.

*** IF ***
Timer 'Timer1' has expired.
*** THEN ***
Spawn unit of type 'FirestormSmall' on Team 'teamPlyrCivilian' at waypoint Waypoint 'Flame1'
Restart timer 'Timer1
UserPostedImage
CommieDog
19 years ago
The restart timer script only works if the timer is paused, not expired. You'll need to use the set timer script instead.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Spartan Jedi
19 years ago
I got it to work, though this method can take a toll on resources since it doesn't use just one at a time...
I set these under folder 'Firestorm2', script names 'Other Firestorm' and 'RestartFirestorm'(had been testing two firestorms)

Other Firestorm

*** IF ***
True.
*** THEN ***
Spawn Unit 'The Firestorm' of type 'FirestormSmall' on Team 'teamPlyrCivilian' at waypoint Waypoint 'Firestorm2'
Set Flag named 'FireFlag' to FALSE

RestartFirestorm

*** IF ***
Flag named 'FireFlag' IS FALSE
*** THEN ***
Enable Script 'Firestorm2'.


I have 'deactivate upon success' unchecked for both.
xDeliverancex
19 years ago
I belive that make them ;iterally, Continuious. I want them toi spawn ar random intrivels. So I am goit to try this:

I have this, but its not working:

*** IF ***
True.
*** THEN ***
Set timer 'Timer1 to expire Randome time between 3.oo Seconds and 7.00 Seconds

*** IF ***
Timer 'Timer1' has expired.
*** THEN ***
Spawn unit of type 'FirestormSmall' on Team 'teamPlyrCivilian' at waypoint Waypoint 'Flame1'
Set timer1 to Expire between 3.00 Seconds and 7.00 SecondsTimer1




'deactivate upon success' will be unchecked for both.


UserPostedImage
fleetatks
19 years ago
Alright, try making another script that doesn't have deactivate on it and have it inactive and be the same as the 2nd script but add to both scripts "Enable script ____" and "disable script (This script)" That way it will force it to be activated.
Email me if you ever need help (edited signature November 6th, 2014)