• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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