• 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.

Tower Defense - Spawning Units

Level 2
Joined
Apr 27, 2008
Messages
9
How to spawn units for a Tower Defense :)

Code:
[COLOR="Magenta"]Create Units[/COLOR]
Events
   Time - Every 45.00 seconds of game time
Conditions
Actions
   Unit - Create 2 Footman for Neutral Hostile at (Center of REGION1) facing
0.00 degrees

[COLOR="magenta"]Move, First[/COLOR]
Events
    Unit - A unit enters REGION1
Conditions
Actions
    Unit - Order (Entering unit) to Move To (Center of REGION2)

[COLOR="magenta"]Move, Second[/COLOR]
Events
    Unit - A unit enters REGION2
Conditions
Actions
    Unit - Order (Entering unit) to Move To (Center of REGION3)

[COLOR="magenta"]Move, Third[/COLOR]
Events
    Unit - A unit enters REGION3
Conditions
Actions
    Unit - Order (Entering unit) to Move To (Center of REGION4)

Awesome draw eh? :)
 
Top