AI units progress with weapons lowered and don't use them, but they will throw (hand only) grenades in direction to enemies. Then, after wounded cases or epecontact (I don't know exactly), some units will shift to hand gun and will fire with it!
A little video here: https://www.youtube.com/watch?v=7EYZd1OpSJo
NB: (colors are for fun: blue for Blufor, Red for Opfor, Green for friendly indep, yellow for enemy indep, white for civilian or captive, black for dead units) You can reproduce without them!