A building/unit cannot be constructed in just any area, but only within a specific region designated for its placement. Here's the trigger for my building, which can only be built within the designated region.
-
Mortar
-
Events
-
Unit - A unit Begins construction
-
-
Conditions
-
(Unit-type of (Constructing structure)) Equal to Guard Tower
-
-
Actions
-
Floating Text - Create floating text that reads Unable to build her... above (Constructing structure) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Special Effect - Create a special effect at (Position of (Constructing structure)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
-
Unit - Remove (Constructing structure) from the game
-
Wait 2.00 seconds
-
Floating Text - Destroy (Last created floating text)
-
-