• 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] Whats wrong with this trigger?

Status
Not open for further replies.
Level 9
Joined
Aug 1, 2008
Messages
453
Im trying to make this trigger leakless and im wondering why it says my custom scrpited is an error?

  • Attack Check Copy
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Set TempRegion1 = House <gen>
      • -------- ------------- --------
      • -------- ------------- --------
      • -------- ------------- --------
      • Set TempRegion = Spawn 1 <gen>
      • Unit Group - Pick every unit in (Units in TempRegion owned by Player 12 (Brown)) and do (Unit - Order (Picked unit) to Attack-Move To (Center of TempRegion1))
      • Custom script: call RemoveLocation( udg_TempRegion )
      • -------- ------------- --------
      • -------- ------------- --------
      • -------- ------------- --------
      • Set TempRegion = Spawn 2 <gen>
      • Unit Group - Pick every unit in (Units in TempRegion owned by Player 12 (Brown)) and do (Unit - Order (Picked unit) to Attack-Move To (Center of (Playable map area)))
      • Custom script: call RemoveLocation( udg_TempRegion )
      • -------- ------------- --------
      • -------- ------------- --------
      • -------- ------------- --------
      • Set TempRegion = Spawn 3 <gen>
      • Unit Group - Pick every unit in (Units in TempRegion owned by Player 12 (Brown)) and do (Unit - Order (Picked unit) to Attack-Move To (Center of (Playable map area)))
      • Custom script: call RemoveLocation( udg_TempRegion )
      • -------- ------------- --------
      • -------- ------------- --------
      • -------- ------------- --------
      • -------- ------------- --------
      • Set TempRegion = Spawn 4 <gen>
      • Unit Group - Pick every unit in (Units in TempRegion owned by Player 12 (Brown)) and do (Unit - Order (Picked unit) to Attack-Move To (Center of (Playable map area)))
      • Custom script: call RemoveLocation( udg_TempRegion )
      • Custom script: call RemoveLocation( udg_TempRegion1 )
 
Status
Not open for further replies.
Top