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

[Trigger] Building trigger

Status
Not open for further replies.
Level 4
Joined
Jun 1, 2007
Messages
92
  • Untitled Trigger 001
    • Events
      • Unit - A unit Begins construction
    • Conditions
      • (Unit-type of (Constructing structure)) Equal to Barracks
      • (Distance between (Position of (Constructing structure)) and (Position of Town Hall 0000 <gen>)) Less than or equal to 1000.00
    • Actions
      • Your Actions
This condition function to detect distance

condition - real comparison
- math - distance between points
 
Status
Not open for further replies.
Top