For the timing thing it's the same idea. Give bob a waypoint inside the building and synchro the waypoint with a trigger. In the condition field of the trigger put
true
you don't need anything in the activation field, but you do need to put numbers (in seconds) in the countdown boxes. You can synchro several dudes with one trigger, though of course they will all start to mosey around at the same time. What happens is that the trigger goes true at the start of the mission, but it doesn't take effect till the countdown is complete. Put the same number in each box if you want a specific time, use different numbers if you want it to be a bit random.
If you want something like this to look good you have to set up waypoints for virtually every soldier, with perhaps a few groups of 2 or 3. It can be a bit tedious but its the only way and for a good idea like this definitely worth it. I like Davies1's idea of having small groups with "none" in each guy's special field. They will start off where you place them but as soon as the mission starts they will try to get into formation, which will give the right kind of milling around effect for early morning.
Now, all of this will interfere with the alarm response so here's what to do. Set up a bunch of waypoints for your dude which look something like this:
move synchro this wp with the timing trigger
move
move
move
cycle synchro this trigger with the alarm trigger
guard
If the alarm doensn't go off the dude will wake up and set off on his patrol. If the alarm does go off he will head straight for the guard wp. (or you could have another set of patrol wps, whatever you like). Make sure the alarm trigger is type switch. Won't make any difference whether he is still in bed or out on patrol. I like to get my dudes to join into groups when the alarm sounds so I put something like
[bob1, bob2, bob3] join kingbob
in the on activation field of the alarm trigger. Dudes look better wandering around the camp on their own, but they fight better in groups.
If you want to make the patrols waypoints a bit random give each one a placement radius. If you want a dude to stop for a bit at a waypoint use the countdown fields in the waypoint.
Hope that helps.
Edit: you could use the time command instead for some of this ...... have time=93 or something in the condition field of the first waypoint rather than using a trigger.