Creep spawning

Draceus

New Member
Reaction score
1
Hey, need help with creep spawning for this map im making.

I want them to spawn in one region in waves and then move and try to destroy a special building that the survivors need to protect.


any good triggers for this?
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Create them at one region, and order all of them to Attack-Move to the position of the "special building" ;)
 

N582114

New Member
Reaction score
2
Trigger:
  • Events
    • Conditions
    • Actions
      • Unit - Create 1 WeakUnit at Region1
      • Unit - Create 1 StrongUnit at Region1
      • Unit Group - Pick every unit in Region1 and do (Actions)
        • Loop
          • Unit - Order (Picked unit) to Attack SpecialUnit

Entirely free-hand, but you should know what I mean.
 

Draceus

New Member
Reaction score
1
yeh i get it ^^

But also need timed waves thats a bit more tricky i guess :p

Also if the building they spawn from is destroyed they stop spawning ;)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Just add the event "Time - Every 20 seconds", and then "If"s for all the buildings, checking if the building is alive... If so, then spawn units :D
 

CAPSLOCKFTW

Member
Reaction score
5
yeh i get it ^^

But also need timed waves thats a bit more tricky i guess :p

Also if the building they spawn from is destroyed they stop spawning ;)
There's 2 ways of doing this

1. If "your building" is "destroyed" equal to False (condition)
add that to the conditions of the trigger spawning the creatures then it wont make them if the building is destroyed

2. Make a trigger that has
event: A building is destroyed
Condition: Event response - building destroyed equal to "your building"
Action: Disable trigger "your creature spawning trigger"

The good thing about second option is that u can disable more that 1 trigger so if u have multiple triggers for different waves from "your building" you can disable them all with one trigger whitout editing them all. The first options condition must be added to each wave trigger separately.
But you can also make 1 trigger that makes different monsters for different amounts of time and waves, all in one :).

Sry I can't use world editor right now so try to understand the triggers ;)

Just add the event "Time - Every 20 seconds", and then "If"s for all the buildings, checking if the building is alive... If so, then spawn units :D

Use that (Every 20 sec or so) instead of the second option when u have a lot of buildings being destroyed all the time.
 

Applzor

New Member
Reaction score
0
Event:
- Unit - A Unit Enters "Your Spawning Location"
Conditions:
- (Owner of (Triggering Unit)) Equal to Player 12 (Brown)
Actions:
- AI - Ignore (Triggering Unit)'s guard postion
- Unit - Order (triggering unit) to attack-move to (center of "Your Attack location")

That's what I use, for every creep that spawns it instantly gets ordered to attack move
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
It will stop the AI from being stupid and hording men at is start location. It also makes the AI completly ignore that unit at times. I needed it for my map so my AI cant move/use my Dummy units. xD
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top