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

[AI] Need simple triger like in Hero Arena

Status
Not open for further replies.

set

set

Level 2
Joined
Sep 22, 2006
Messages
5
Need trigger that will create unit in one region and send that unit to attack some building.
 
Level 2
Joined
Sep 18, 2006
Messages
6
Code:
Trigger
    Events
        (Whatever event you want, time is good)
    Conditions
        (Whatever conditions you want)
    Actions
        Unit - Create 1 (Unit) for (Triggering player) at (Region) facing Default building facing degrees
        Unit - Order (Last created unit) to Attack-Move To (Center of (Position of unit (Building you want targeted)))
 
Status
Not open for further replies.
Top