- Joined
- Aug 2, 2008
- Messages
- 154
Hello guys!
For testing, this trigger is creating a matrix of 17x17 buildings:
Problem: If there's a pathing map set (4x4), the buildings will overlap.
If i remove the pathing map, the buildings will be created as i wish.
I tried using a 4x4 yellow pathing map.
I made the buildings themselves to be buildable.
I tried removing the collision.
I tried creating dummy units, gave them an expiration timer betweet 1-10. On death, the buildings (with pathing map) have been created. With the same result: Overlapping units...
I can't figure out why this happens.
Does anyone ever had that problem?
I would be happy to read a solution. Thanks =)
For testing, this trigger is creating a matrix of 17x17 buildings:
Code:
TEST
Ereignisse
Map initialization
Bedingungen
Aktionen
Set Temp_Point = (Center of Gebiet 002 <gen>)
For each (Integer A) from 0 to 16, do (Actions)
Schleifen - Aktionen
Set Temp_Point_2 = (Temp_Point offset by ((Real((Integer A))) x 128.00) towards 0.00 degrees)
For each (Integer B) from 0 to 16, do (Actions)
Schleifen - Aktionen
Set Temp_Point_3 = (Temp_Point_2 offset by ((Real((Integer B))) x 128.00) towards 90.00 degrees)
Einheit - Create 1 Carved Wall for Neutral passiv at Temp_Point_3 facing Vorgabe für Gebäude-Ausrichtung degrees
Custom script: call RemoveLocation (udg_Temp_Point_3)
Custom script: call RemoveLocation (udg_Temp_Point_2)
Custom script: call RemoveLocation (udg_Temp_Point)
If i remove the pathing map, the buildings will be created as i wish.
I tried using a 4x4 yellow pathing map.
I made the buildings themselves to be buildable.
I tried removing the collision.
I tried creating dummy units, gave them an expiration timer betweet 1-10. On death, the buildings (with pathing map) have been created. With the same result: Overlapping units...
I can't figure out why this happens.
Does anyone ever had that problem?
I would be happy to read a solution. Thanks =)