HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I Need Triggers For TD

04-25-2004, 07:06 AM#1
N_tp
Ok Here What I need:

A Simple Trigger System like this:

45 Levels

For Each Player there will be 10 units spawned 5 at one point 5 at another

2 units every second from each point

And When all The units of that round are killed then the next level trigger starts
04-25-2004, 07:30 AM#2
Das Jank
So basicly you want us to make the whole map except the terrain and design of the buildings? no thanks.
04-25-2004, 09:31 AM#3
PatruX
Quote:
Originally Posted by N_tp
Ok Here What I need:

A Simple Trigger System like this:

45 Levels

For Each Player there will be 10 units spawned 5 at one point 5 at another

2 units every second from each point

And When all The units of that round are killed then the next level trigger starts

You got work to do.
04-25-2004, 07:02 PM#4
N_tp
i wanted help on how to do it i have everything done but the triggers, and i need help i don't want sombody to do them for me

I don't know how to do it plez help me
04-25-2004, 08:53 PM#5
ThyFlame
Assign Unit-Types for each level
elapsed time == .01

(SpawnedUnits = unit-type array)
set SpawnedUnits[1] = Level 1
set SpawnedUnits[2] = Level 2
...
set SpawnedUnits[45] = Level 45

Delayed spawn
elapsed time == 100 (if you want to give players time before spawning starts)

turn on SpawnTrigger

SpawnTrigger
Every 60 game-time seconds
Create 5 SpawnedUnits[Level] at location whatever (Level is an integer variable whose starting value is 1)
Order SpawnedUnits to move to whereever
Set Level = Level + 1



That's the basic outline. There are indeed other ways to do this, but this one will work for you.
04-26-2004, 02:30 PM#6
PatruX
Open Wintermaul and look how Duke did it..
04-26-2004, 06:49 PM#7
DoCa-Cola
Quote:
Originally Posted by PatruX
Open Wintermaul and look how Duke did it..
That would be my suggestion. His system is very efficient. The only thing that is different from how you want yours done is that he spawns all his at once, but figuring out how to spawn 2 per second shouldn't be too hard. BUT, if you need some help, get on IRC, and I'll help you, so long as I'm not working on my TD.