You can also place a unit there without using any code. Simply, move your cursor over the tower (if it's one that's by default ont he map) until you see the name of the tower appear. Press the F1 key to make sure your editor is in the Unit mode, and then double click to place a unit.
The unit should start on top of the tower.