• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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