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

Claim System

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
just check with pick unit around construction point with x range if there have structure what owned by enemy, if yes then destroy it

something like this?

  • Melee Initialization
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Set p = (Position of (Constructing structure))
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 512.00 of p matching ((Owner of (Constructing structure)) Not equal to (Matching player))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Constructing structure)
      • Custom script: call RemoveLocation(udg_p)
 
Status
Not open for further replies.
Top