hey, so i have adjusted this trigger i have (that worked), because of a bug i found in my map. i changed it by adding the "if/then/else" part, where it now checks if its within a region before doing its response.
please help me fix this problem, my map is so close to being finished, and i cant release it knowing of this bug.
-
Prevent block P12 Blue
-

Events
-


Unit - A unit owned by Player 2 (Blue) Is attacked
-
-

Conditions
-


(Owner of (Attacking unit)) Equal to Player 12 (Brown)
-
-

Actions
-


Wait 0.00 seconds
-


Unit - Turn collision for (Attacking unit) Off
-


Animation - Change (Attacking unit)'s vertex coloring to (100.00%, 0.00%, 0.00%) with 20.00% transparency
-


If ((team1 antiblock <gen> contains (Triggering unit)) Equal to False) then do (Unit - Order (Triggering unit) to Move To (Center of Team1 All1 <gen>)) else do (Unit - Order (Triggering unit) to Move To (Center of Team1 AllDie <gen>))
-


Wait 2.00 seconds
-


Unit - Turn collision for (Attacking unit) On
-


Animation - Change (Attacking unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
-
-
please help me fix this problem, my map is so close to being finished, and i cant release it knowing of this bug.



