Gen Barron's script works, but the AI can never again stand up or move. OFP does not have a way to overcome this problem. Most of the units people put in buildings will have this disableAI "move" in their init fields.
KeyCat's GroupLink2 included a script to allow AI to patrol inside buildings, if the buildings had interior waypoints.
To find Zaphod's script, check the 1.085 release of ECP and see if it claims to have this functionality. If so, unpbo ECP and dig.