I need a quick answer. I'm trying to make a spawn trigger that creates a unit at a random point in a collage of 6 different regions every 2 seconds of game time. It looks like this currently, and I know it's wrong. I'm looking for a way to combine the parts of the array into one huge region.
--------------
Create The Desolace1
Events
Time - Every 2.00 seconds of game time
Conditions
(Number of units in (Units in Desolace[(Integer A)] matching (((Matching unit) belongs to an enemy of Neutral Hostile) Equal to True))) Greater than 0
(Number of units in (Units in Desolace[(Integer A)] matching (((Matching unit) is in (Units owned by Neutral Hostile)) Equal to True))) Less than or equal to 20
Actions
Set RandomDice = (Random integer number between 1 and 1)
If (RandomDice Equal to 1) then do (Unit - Create 1 Wild Pig for Neutral Hostile at (Random point in Desolace[(Random integer number between 1 and 6)]) facing (Random point in (Playable map area))) else do (Do nothing)
------------
--------------
Create The Desolace1
Events
Time - Every 2.00 seconds of game time
Conditions
(Number of units in (Units in Desolace[(Integer A)] matching (((Matching unit) belongs to an enemy of Neutral Hostile) Equal to True))) Greater than 0
(Number of units in (Units in Desolace[(Integer A)] matching (((Matching unit) is in (Units owned by Neutral Hostile)) Equal to True))) Less than or equal to 20
Actions
Set RandomDice = (Random integer number between 1 and 1)
If (RandomDice Equal to 1) then do (Unit - Create 1 Wild Pig for Neutral Hostile at (Random point in Desolace[(Random integer number between 1 and 6)]) facing (Random point in (Playable map area))) else do (Do nothing)
------------