Hey guys,
I use always unit groubs instead of "get every unit in region" since in my experience this is more reliable. But here is a strange thing. When I spawn my units at random position in a Region sometimes. 1 unit will be spawned in a neighbour region. There is enough space between the region and everything around it!
I spawn 5 creeps in 10 regions. And 49 spawn right and 1 wrong. This happens rare like in every 50 to 100 spawns or so... I have a "-unstuck" command to teleport all non Hero creeps back but it is annoying.
Has anyone experienced something similar?
I use always unit groubs instead of "get every unit in region" since in my experience this is more reliable. But here is a strange thing. When I spawn my units at random position in a Region sometimes. 1 unit will be spawned in a neighbour region. There is enough space between the region and everything around it!
-
CreepSpawnTrigger
-

Events
-

Conditions
-

Actions
-


For each (Integer B) from 1 to TEAMS_STILL_PLAYING_COUNT, do (Actions)
-



Loop - Actions
-




Player Group - Pick every player in TEAMS_STILL_PLAYING_FILLED[(Integer B)] and do (Actions)
-





Loop - Actions
-






For each (Integer A) from 1 to CreepWaveUnitsCount[CURRENT_ROUND], do (Actions)
-







Loop - Actions
-








Unit - Create 1 CreepWaveUnits[CURRENT_ROUND] for Neutral Hostile at (Random point in playerToRegionArray[(Player number of (Picked player))]) facing (Center of playerToRegionArray[(Player number of (Picked player))])
-








Unit Group - Add (Last created unit) to roundUnitGroupsToKill[playerToTeamInteger[(Player number of (Picked player))]]
-








Unit - Change color of (Last created unit) to (Color of (Picked player))
-
-
-
-
-
-
-
-
I spawn 5 creeps in 10 regions. And 49 spawn right and 1 wrong. This happens rare like in every 50 to 100 spawns or so... I have a "-unstuck" command to teleport all non Hero creeps back but it is annoying.
Has anyone experienced something similar?









