• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

spawn..2

Status
Not open for further replies.
Level 8
Joined
Jan 18, 2007
Messages
331
i want help with making a spawning system 4 my map


i want a timer to show wen the next wave is comming.(theres more than 1 spawn site) and i want to increase the attackers 4 ewery lvl(and mabey change the attackers) and then make a trigger that is tuning on the other triggers wen all attackers are dead.

:infl_thumbs_up: TY in advance:infl_thumbs_up:
 
Level 27
Joined
Sep 24, 2006
Messages
4,981
When all units of the previous level died you make a trigger to set a bolean variable (expample: Nextlevel = True) to true.. when the level isnt completed you set it to False..

When you start the next level you repeat the trigger of creating the timer,you also set nextlevelcreatures = Peasant (just an example) and then you run the level trigger again?

If you dont get it .. i can slowly explain it ;)

-=EDIT=-

Will look like this?

-[highlight]events[/code]-
Timed - every 0.01 seconds of game time do
-[highlight]Conditions[/code]-
None
-[highlight]Actions[/code]-
If/Then/else - If units owned by player (example) equal to 0
-[highlight]Then[/code]-
Set nextlevel = True
Run (nextleveltrigger)
Set Levelcreature = Peasant
-[highlight]Else[/code]-
Do nothing


Then the nextleveltrigger would like this?

-[highlight]events[/code]-
None
-[highlight]Conditions[/code]-
nextlevel = true
-[highlight]Actions[/code]-
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
Create unit (levelcreature) at (playablemaparea) and order to walk to (regionexample)
wait 2.00 seconds
E.T.C ( depends on how much units you want.. this is the long way i dont want to think of a short way,i hope you can figure out the short way urself :p )

Hope this helped...
 
Last edited:
Level 8
Joined
Jan 18, 2007
Messages
331
ye thanks. il e-mail you if i dont get it?


Edit:: can you make this trigger in a map with 4 spawn places? i wuld be verry pleased if u did!

Edited::(aganb) wath type of variable is it?'
 
Last edited:
Status
Not open for further replies.
Top