- 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 )
-
-