you can also set him in position with a few commands that will spare you from that tedious placing him manually.
Every building has a number of positions inside the building that can be referenced by buildingPos [building, 1] command that returns the position array of that position in world coordinates. Usualy there are about 20 positions in a building (depending on the size of the building) and they refer to doors, stairs, windows, tables and chairs.
1. check the buildings id in mission editor by turning on "Show Id". Let us assume that the building you are using has a id of 10000.
2. in the units init field write:
this setpos buildingPos[object 10000, 1]
This will place him probably standing just outside the front door.
this setpos buildingPos[object 10000, 2]
This again, probably just inside it.
Cycling trough the id you can fast find the position you are looking for.
When you have it you could combine this method with pazuzu's example getting this:
this setpos buildingPos[object 10000, 2]; this setUnitPos "up"; this setCombatMode "red"; this setBehaviour "safe"; this setSpeedMode "limited"; this disableAI "move";