-
Start Building
-

Events
-


Unit - A unit Is issued an order targeting a point
-

Conditions
-


Or - Any (Conditions) are true
-



Conditions
-




(Issued order) Equal to (Order(farm))
-




(Issued order) Equal to (Order(altarofkings))
-

Actions
-


Set Temp_Loc_1 = (Target point of issued order)
-


Set Temp_Loc_2 = (Position of (Triggering unit))
-


-------- ---------------------------------------- --------
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Road_Boolean Equal to False
-



Then - Actions
-




Set Temp_Real_1 = 0.00
-




For each (Integer A) from 1 to 12, do (Actions)
-





Loop - Actions
-






Set Temp_Loc_3 = (Temp_Loc_1 offset by 256.00 towards Temp_Real_1 degrees)
-






Set Temp_Real_1 = (Temp_Real_1 + 36.00)
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Terrain type at Temp_Loc_3) Equal to Lordaeron Summer - Rock
-







Then - Actions
-







Else - Actions
-






Custom script: call RemoveLocation(udg_Temp_Loc_3)
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






Road_Boolean Equal to False
-





Then - Actions
-






Unit - Order (Triggering unit) to Move To Temp_Loc_2
-






Floating Text - Create floating text that reads Can't build there -... above (Triggering unit) with Z offset 96.00, using font size 12.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-






Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-






Floating Text - Change (Last created floating text): Disable permanence
-






Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-






Floating Text - Change the fading age of (Last created floating text) to 2.75 seconds
-





Else - Actions
-



Else - Actions
-




Set Temp_Group = (Units within 512.00 of Temp_Loc_1 matching (((Matching unit) is A structure) Equal to True))
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Number of units in Temp_Group) Equal to 0
-





Then - Actions
-






Unit - Order (Triggering unit) to Move To Temp_Loc_2
-






Floating Text - Create floating text that reads Can't build there -... above (Triggering unit) with Z offset 96.00, using font size 12.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-






Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-






Floating Text - Change (Last created floating text): Disable permanence
-






Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-






Floating Text - Change the fading age of (Last created floating text) to 2.75 seconds
-





Else - Actions
-




Custom script: call DestroyGroup(udg_Temp_Group)
-


Custom script: call RemoveLocation(udg_Temp_Loc_1)
-


Custom script: call RemoveLocation(udg_Temp_Loc_2)
The first building has to be built next to a road. Change the terrain typed used in this trigger to terrain type of your road. Following building have to be built near some other building. You can change the distances.
Create a variable called Road_Boolean. It should be false initially. You may need to use an array if it's for multiplaying.
Add all buildings you need to conditions.
Add some conditions to the unit group selection, like owner of picked unit equal to owner of triggering unit.