units walking to a point but attacking

Status
Not open for further replies.

007

007

Level 6
Joined
May 3, 2009
Messages
175
hi. how can i make, that the computers units walk from one point to another, but attack if an enemy comes naer them and if he walks away or dies they go on to walk to this point? (like a td with the blocking)
 
  • Create Unit
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
      • ====This is the action which makes the unit to move and if units are near, it attacks====
      • Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))
      • ======================================================
[Edit] - Off-Topic:
Oh god, Pharaoh, you always be the first to post than I do..
 
Status
Not open for further replies.
Back
Top